Resolve DNS records for a hostname — A, AAAA, CNAME, MX, TXT, NS, SOA, CAA or SRV. NXDOMAIN or an absent record type returns an empty record set.