At Mon, 26 May 2008 18:49:35 -0400,
Steve Bertrand <[EMAIL PROTECTED]> wrote:

> Is there anyone here who can advise me where in the source tree I would 
> find the DNS resolver code that performs AAAA/A record lookups, and more 
> specifically, the fallback to A lookup if AAAA fails?

Assuming you're considering getaddrinfo(), see res_queryN() in
lib/libc/net/getaddrinfo.c.

BTW: "fallback" does not really accurately describe the behavior.
When AF_UNPSEC is specified, both AAAA and A queries are issued,
whether or not the AAAA query fails.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to