fn get_ip(
rrs: &[ResourceRecord],
target: &DomainName,
rtype: RecordType,
) -> Option<IpAddr>
Expand description
Given a set of RRs and a domain name we’re looking for, follow any
CNAME
s in the response and get the address from the final A
/ AAAA
record.