Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 15:51:09 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   BIND - disabling IPv6 lookups
Message-ID:  <CAE63ME44OfwDzj05TmmrYBLzLrvCW=DZ=0mo=8%2By3wsX6JAHNQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello list,


I'm currently experiencing this very weird behaviour with BIND 9.8.7
running on 10-STABLE and, obviously, installed from ports.


I'm trying to prevent BIND from trying to resolve AAAA resource records.

To this effect, I've added :
named_flags="-4" to /etc/rc.conf, as the man page and several google
searches suggest [1]


After restarting BIND, I see it's come back alive with the correct startup
flag :
/usr/local/sbin/named -4 -u bind -c /usr/local/etc/namedb/named.con


However, I still see queries for AAAA records :
13:39:26.990819 IP 10.104.10.252.54566 > 195.158[snip].53: 43577+ [1au]
AAAA? www.tvsembox.com. (45)

Is that expected behaviour ?
And yes, 10.104.10.252 is the actual FreeBSD box, not a client host trying
to resolve stuff.


[1]
https://www.sbarjatiya.com/notes_wiki/index.php/Disabling_IPv6_lookups_in_bind



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE63ME44OfwDzj05TmmrYBLzLrvCW=DZ=0mo=8%2By3wsX6JAHNQ>