def METHOD_NAME(sld, tld, nameserver):
    """
    Retrieves information about a registered nameserver. Returns the following
    information:
    - IP Address set for the nameserver
    - Domain name which was queried
    - A list of nameservers and their statuses
    sld
        SLD of the domain name
    tld
        TLD of the domain name
    nameserver
        Nameserver to retrieve
    CLI Example:
    .. code-block:: bash
        salt '*' namecheap_domains_ns.get_info sld tld nameserver
    """
    opts = salt.utils.namecheap.get_opts("namecheap.domains.ns.delete")
    opts["SLD"] = sld
    opts["TLD"] = tld
    opts["Nameserver"] = nameserver
    response_xml = salt.utils.namecheap.post_request(opts)
    if response_xml is None:
        return {}
    domainnsinforesult = response_xml.getElementsByTagName("DomainNSInfoResult")[0]
    return salt.utils.namecheap.xml_to_dict(domainnsinforesult)