Name resolution performance in BIND9

Sean Page Sean.Page at epsb.ca
Mon Nov 15 09:03:37 PST 2004


Excellent, that has indeed done the trick. Thanks for the explanation Doug.

-----Original Message-----
From: Doug Barton [mailto:DougB at freebsd.org] 
Sent: November 14, 2004 1:08 PM
To: Sean Page
Cc: 'freebsd-ports at freebsd.org'
Subject: Re: Name resolution performance in BIND9

On Fri, 12 Nov 2004, Sean Page wrote:

> Greetings list.
>
> I am running versions of FreeBSD from 4.9.x to 4.10 p3. Let's say for the
> sake of argument that we're dealing with FreeBSD 4.10-RELEASE-p2. I am
> finding that BIND9 (installed to replace the base install of BIND) is
taking
> from 4-8 seconds to resolve a name that isn't cached, where the same
lookup
> on BIND8 will occur in less than a second.

This is happening because of the way BIND 9 handles the presence of AAAA 
records in the glue data. May TLDs, including recently both com and net, 
have AAAA records now.

The problem will be fixed in 9.3.1 when it is released. Meanwhile, those 
who have only IPv4 connectivity can solve the problem by putting -4 in 
their named_flags in /etc/rc.conf[.local].

HTH,

Doug


More information about the freebsd-ports mailing list