Discussion:
Bind IPV6 issue
(too old to reply)
Duleep Thilakarathne
2020-07-09 09:01:40 UTC
Permalink
Hi,

I have configured bind with IPV6 support enabled. However bind does not
listen to IPV6 address. Any particular reason.is there any place to enable
IPV6 support other than named.conf.

Version : BIND 9.11.4-P1 (Extended Support Version)


in named.conf file

listen-on-v6 { any; };


regards
DT
Anand Buddhdev
2020-07-09 09:28:18 UTC
Permalink
On 09/07/2020 11:01, Duleep Thilakarathne wrote:

Hi Duleep,
Post by Duleep Thilakarathne
I have configured bind with IPV6 support enabled. However bind does not
listen to IPV6 address. Any particular reason.is there any place to enable
IPV6 support other than named.conf.
Version : BIND 9.11.4-P1 (Extended Support Version)
in named.conf file
listen-on-v6 { any; };
This should work. But how do you know that BIND does not listen on IPv6
addresses? Did you check using "ss -lunp" or "netstat -upan"?

Regards,
Anand
Nyamkhand Buluukhuu
2020-07-09 09:42:34 UTC
Permalink
Hello,

listen-on-v6 port 53 {};

You can try like above.
then after restarting named, check result from 'netstart -ltnp' command to see if v6 address is listening.

Have a nice day :)
BR, NYAMKHAND Buluukhuu



________________________________
From: bind-users <bind-users-***@lists.isc.org> on behalf of Duleep Thilakarathne <***@gmail.com>
Sent: Thursday, July 9, 2020 5:01 PM
To: bind-***@lists.isc.org <bind-***@lists.isc.org>
Subject: Bind IPV6 issue

Hi,

I have configured bind with IPV6 support enabled. However bind does not listen to IPV6 address. Any particular reason.is<https://protect2.fireeye.com/v1/url?k=b96f3e33-e7f7acf6-b96807ec-86982a5fc978-1032b724f3f312c6&q=1&e=17bbfe92-8468-4378-8c71-444c92a61cb8&u=http%3A%2F%2Freason.is%2F> there any place to enable IPV6 support other than named.conf.

Version : BIND 9.11.4-P1 (Extended Support Version)


in named.conf file

listen-on-v6 { any; };


regards
DT
Duleep Thilakarathne
2020-07-09 10:56:25 UTC
Permalink
Hi Anand,

Yes netstat -upan only shows only ipv4 address listen :53. But sever
listens for ipv6 SSH port. So i can confirm IPV6 working fine in server.
But not for udp port 53.

Regards
DT
Post by Anand Buddhdev
Hi Duleep,
Post by Duleep Thilakarathne
I have configured bind with IPV6 support enabled. However bind does not
listen to IPV6 address. Any particular reason.is there any place to
enable
Post by Duleep Thilakarathne
IPV6 support other than named.conf.
Version : BIND 9.11.4-P1 (Extended Support Version)
in named.conf file
listen-on-v6 { any; };
This should work. But how do you know that BIND does not listen on IPv6
addresses? Did you check using "ss -lunp" or "netstat -upan"?
Regards,
Anand
Anand Buddhdev
2020-07-09 11:51:34 UTC
Permalink
On 09/07/2020 12:56, Duleep Thilakarathne wrote:

Hi Duleep,

After starting BIND, can you examine its log entries? It should print
all the addresses it is binding to, eg:

09-Jul-2020 13:50:57.674 listening on IPv4 interface lo0, 127.0.0.1#53
09-Jul-2020 13:50:57.676 IPv6 socket API is incomplete; explicitly
binding to each IPv6 address separately
09-Jul-2020 13:50:57.676 listening on IPv6 interface lo0, ::1#53
09-Jul-2020 13:50:57.677 listening on IPv6 interface lo0, fe80::1%1#53
09-Jul-2020 13:50:57.678 listening on IPv6 interface en0,
fe80::46f:4f61:8541:6b2f%4#53
09-Jul-2020 13:50:57.679 listening on IPv4 interface en0, 192.168.178.20#53
09-Jul-2020 13:50:57.680 listening on IPv6 interface en0,
2001:1c04:2a11:7d00:1cb9:6e7e:d4b3:ae1b#53
09-Jul-2020 13:50:57.681 listening on IPv6 interface en0,
2001:1c04:2a11:7d00:61ed:2e3:3afc:b116#53
Post by Duleep Thilakarathne
Hi Anand,
Yes netstat -upan only shows only ipv4 address listen :53. But sever
listens for ipv6 SSH port. So i can confirm IPV6 working fine in server.
But not for udp port 53.
Hrant Dadivanyan
2020-07-09 14:06:32 UTC
Permalink
Hi Duleep,

Any process running as non-root user can't bind to a port lower than
1024 (53 in your case), so if you change process uid on start (named -u)
then stop the named process and start anew.

Thank you,
Hrant
Post by Duleep Thilakarathne
Hi Anand,
Yes netstat -upan only shows only ipv4 address listen :53. But sever
listens for ipv6 SSH port. So i can confirm IPV6 working fine in server.
But not for udp port 53.
Regards 
DT
Hi Duleep,
Post by Duleep Thilakarathne
I have configured bind with IPV6 support enabled. However bind
does not
Post by Duleep Thilakarathne
listen to IPV6 address. Any particular reason.is
<http://reason.is> there any place to enable
Post by Duleep Thilakarathne
IPV6 support other than named.conf.
Version : BIND 9.11.4-P1 (Extended Support Version)
in named.conf file
listen-on-v6 { any; };
This should work. But how do you know that BIND does not listen on IPv6
addresses? Did you check using "ss -lunp" or "netstat -upan"?
Regards,
Anand
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
Loading...