BIND on IPv6 interface
Chris Buxton
cbuxton at menandmice.com
Sun Oct 5 15:43:20 UTC 2008
The default for "listen-on" is { any; }. That's why it's listening on
your IPv4 interfaces. To disable this, use:
listen-on { none; };
To get it to listen on just a single IPv6 interface, have you tried
omitting the subnet mask? For example:
listen-on-v6 { ::1; };
Chris Buxton
Professional Services
Men & Mice
On Oct 4, 2008, at 1:35 PM, Alan Zoysa wrote:
> Hello,
> Am using BIND 9.5.0-P2 on Debian (testing/Lenny).
>
> listen-on-v6 { any; };
> works fine and also starts daemon on IPv4 addresses (I wonder why?
> since
> there is "listen-on" for IPv4 -- If "listen-on-v6" causes BIND
> daemon to
> start on IPv4 addresses, it should also accept IPv4 address in its
> arguments, no?).
>
> I wanted BIND to run only on IPv6 (say localhost6) address so I did
> the
> following
> listen-on-v6 { ::1/128; };
> but it does not work!
>
> neither it works when I put the IPv6 address of my interface that I
> obtain
> from "ifconfig" output.
>
> Please enlighten me. Thank you.
>
> --
>
> best regards,
> Alan.
>
>
>
More information about the bind-users
mailing list