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

Ondřej Surý ondrej at sury.org
Mon Jul 29 15:23:18 UTC 2013


On Mon, Jul 29, 2013 at 5:16 PM, Vladimir Levijev <
vladimir.levijev at gmail.com> wrote:

> 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?
>

Yes, there's no A+AAAA query type.


> 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
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users
>



-- 
Ondřej Surý <ondrej at sury.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20130729/0fd07101/attachment.htm>


More information about the ldns-users mailing list