Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 10:01:58 -0700
From:      Sean Page <Sean.Page@epsb.ca>
To:        "'Doug Barton'" <DougB@freebsd.org>
Cc:        "'freebsd-ports@freebsd.org'" <freebsd-ports@freebsd.org>
Subject:   RE: Name resolution performance in BIND9
Message-ID:  <1FE05C67E513D9119F31000F1F6C220742CC@EXCHANGE08>

next in thread | raw e-mail | index | archive | help
Excellent, that has indeed done the trick. Thanks for the explanation Doug.

-----Original Message-----
From: Doug Barton [mailto:DougB@freebsd.org] 
Sent: November 14, 2004 1:08 PM
To: Sean Page
Cc: 'freebsd-ports@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FE05C67E513D9119F31000F1F6C220742CC>