[ldns-users] Resolve host to both IPv4 and IPv6 addresses

Vladimir Levijev vladimir.levijev at gmail.com
Mon Jul 29 15:16:54 UTC 2013


Hi,

Do I need to make a 2 separate ldns_resolver_query() calls first with
RR typeLDNS_RR_TYPE_A, second with LDNS_RR_TYPE_AAAA in order to fetch
both IPv4 and IPv6 addresses?

Or can I e. g. make one call with LDNS_RR_TYPE_A and then fetch them
twice from the packet using ldns_pkt_rr_list_by_type() first with RR
type A and then AAAA?

Cheers,

VL



More information about the ldns-users mailing list