Mike Makonnen wrote:
> On Sun, 2002-05-12 at 14:16, Peter Haight wrote:
> > Hmm. Looking at the FreeBSD resolver code, it doesn't look like there is
> > some convenient way to do this. Maybe something like, try the AAAA lookup,
> > but if we don't get any reply in a short timeout, try an A lookup. If we get
> > a reply to that, then log the site as probably not conforming to the RFC.
> 
> In mozilla's case, it's not the FreeBSD resolver that's trying ipv6 and
> then ipv4. Mozilla does it explicitly by calling gethostbyname2 first
> with AF_INET6, and if that fails with AF_INET. You could just patch it
> to not make the first gethostbyname2 call. From a quick browse of the
> source from  mozilla.org it's src/misc/prnetdb.c around line # 579 or
> thereabouts.

They are trying to be good network citizens by supporting IPv6.

Patching the code so that it no longer supports IPv6, to work
around a DNS server that improperly supports DNS... doesn't
seem to be the right direction.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to