Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 23:47:32 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        Andreas Pettersson <andpet@telia.com>
Subject:   Re: BIND 9.3.1 - How to get rid of AAAA querys?
Message-ID:  <200709122348.11991.max@love2party.net>
In-Reply-To: <46E841D1.3020002@telia.com>
References:  <46E841D1.3020002@telia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5312504.Mh0Yq2qTPc
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 12 September 2007, Andreas Pettersson wrote:
> When looking in the querylog for BIND 9.3.1 running on FreeBSD 5.4,
> almost every other log entry specifies an AAAA query. The only client
> is localhost. I see no reason right now to have BIND wasting resources
> on IPv6 requests, so I added
>
> named_flags=3D"-4"
>
> to rc.conf and restarted named. Sockstat tells me named is listening
> only on udp4 and tcp4, but I still get lots of AAAA entries in the
> querylog:
=2E..
> What can I do to get rid of these?

Change your resolver.  The name*server* can nothing do about what the=20
*client* asks of them.  The fact that you connect to a nameserver via=20
IPv4 says nothing about what kind of queries you want to send to it.  At=20
the moment you can't change the behavior of the resolver in libc and (as=20
far as I know) that of the isc implementation either.  There has been a=20
discussion to provide a environment variable to emit only IPv4 queries,=20
though.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart5312504.Mh0Yq2qTPc
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBG6F6bXyyEoT62BG0RAl8gAJ9Y3lohPtaiP/i259nRLBsXAnnqpQCcC6eD
P1IC7lLq4/ws558afifH1l0=
=Yjew
-----END PGP SIGNATURE-----

--nextPart5312504.Mh0Yq2qTPc--



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