On Thu, 9 Nov 2006, Michael wrote:
> Otto Moerbeek schrieb:
> > This is not a bug, see the named ref guide. localhost is a symbolic
> > name for:
> >
> > localhost Matches the IPv4 and IPv6 addresses of all network interfaces on
> > the system.
> Changing localhost to 127.0.0.1 did the trick, but just partly...
> IPv6 still is still being used...
>
> # fstat -n | grep internet | grep named
> named named 17436 20* internet6 dgram udp *:53
> named named 17436 21* internet6 stream tcp 0xd7a999c0 *:53
> named named 17436 22* internet dgram udp 127.0.0.1:53
> named named 17436 23* internet stream tcp 0xd76f54b8 127.0.0.1:53
> named named 17436 24* internet dgram udp 80.237.156.59:53
> named named 17436 25* internet stream tcp 0xd79df644
> 80.237.156.59:53
> named named 17436 36* internet dgram udp *:46261
> named named 17436 37* internet6 dgram udp *:38873
> named named 17436 38* internet stream tcp 0xd73d0cd0 127.0.0.1:953
> named named 17436 39* internet6 stream tcp 0xd79a3e14 [::1]:953
>
Again, check the manual. Although I suspect a documentation bug. It says:
To make the server not listen on any IPv6 address, use
listen-on-v6 { none; };
If no listen-on-v6 statement is specified, the server will not listen
on any IPv6 address.
I'd say play a bit.
-Otto