From owner-freebsd-stable@FreeBSD.ORG Wed Sep 12 22:00:51 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A898E16A41A for ; Wed, 12 Sep 2007 22:00:51 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3A86113C45B for ; Wed, 12 Sep 2007 22:00:51 +0000 (UTC) (envelope-from max@love2party.net) Received: from dslb-088-066-021-171.pools.arcor-ip.net [88.66.21.171] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1IVa4D2bkq-0006vT; Wed, 12 Sep 2007 23:48:13 +0200 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Wed, 12 Sep 2007 23:47:32 +0200 User-Agent: KMail/1.9.7 References: <46E841D1.3020002@telia.com> In-Reply-To: <46E841D1.3020002@telia.com> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5312504.Mh0Yq2qTPc"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200709122348.11991.max@love2party.net> X-Provags-ID: V01U2FsdGVkX191P7EeGyLWKMCt7js0EVLbJYh0caQegCECo7j R++rnxoO8QXGWlA1s7+smY+VGhizlQ1xCIMnINYrULKtSsgK2w zHfWBPAW/HxkjRcXRgBD/ncl7SM8rGm09XzuwJ+qc8= Cc: Andreas Pettersson Subject: Re: BIND 9.3.1 - How to get rid of AAAA querys? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 22:00:51 -0000 --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--