Bind IPV6 issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Bind IPV6 issue

Duleep Thilakarathne
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

_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Bind IPV6 issue

Anand Buddhdev
On 09/07/2020 11:01, Duleep Thilakarathne wrote:

Hi Duleep,

> 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
_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Bind IPV6 issue

Nyamkhand Buluukhuu
In reply to this post by Duleep Thilakarathne
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.

From: bind-users <[hidden email]> on behalf of Duleep Thilakarathne <[hidden email]>
Sent: Thursday, July 9, 2020 5:01 PM
To: [hidden email] <[hidden email]>
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 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

_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Bind IPV6 issue

Duleep Thilakarathne
In reply to this post by Anand Buddhdev
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

On Thu, 9 Jul 2020, 14:58 Anand Buddhdev, <[hidden email]> wrote:
On 09/07/2020 11:01, Duleep Thilakarathne wrote:

Hi Duleep,

> 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

_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Bind IPV6 issue

Anand Buddhdev
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

> 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.
_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: Bind IPV6 issue

Hrant Dadivanyan-2
In reply to this post by Duleep Thilakarathne

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

On 2020-07-09 14:56, Duleep Thilakarathne wrote:

> 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
>
> On Thu, 9 Jul 2020, 14:58 Anand Buddhdev, <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On 09/07/2020 11:01, Duleep Thilakarathne wrote:
>
>     Hi Duleep,
>
>     > I have configured bind with IPV6 support enabled. However bind
>     does not
>     > listen to IPV6 address. Any particular reason.is
>     <http://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
>
>
> _______________________________________________
> 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
> [hidden email]
> https://lists.isc.org/mailman/listinfo/bind-users
>

_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users

signature.asc (566 bytes) Download Attachment