bind9 no longer detect my ipv6 interface after having upgrade from ubuntu server 8.04 to 8.10

Thomas Manson dev.mansonthomas at gmail.com
Tue Nov 18 15:13:35 UTC 2008


  Hi,

 I've my secondary DNS Server that run bind9 version 9.5.0-P2 (from ubuntu
8.10 server)

 Before, I was using the version on ubuntu 8.04 and it was working
successfully with ipv6.

 Yesterday I configure a new '.fr' domain which require a successfull
zonecheck and I got the following error :

_____________________________________________________________________
---- fatal ----
Server doesn't listen/answer on port 53 for UDP protocol

    * Ref: IETF RFC1035 (p.32 4.2. Transport)

      The DNS assumes that messages will be transmitted as datagrams or in a
byte stream carried by a virtual circuit. While virtual circuits can be used
for any DNS activity, datagrams are preferred for queries due to their lower
overhead and better performance.

    * ns1.ordiworld.fr./2A01:E0B:1:31:240:63FF:FEE5:C74A
_____________________________________________________________________

I've checked that I can ping6 my server, firewall is correctly configured
and I've got this message in the logs which says no ipv6 interface found :
________________________________________________________________________
Nov 18 13:36:08 ns1 named[32135]: received control channel command 'stop'
Nov 18 13:36:08 ns1 named[32135]: shutting down: flushing changes
Nov 18 13:36:08 ns1 named[32135]: stopping command channel on 127.0.0.1#953
Nov 18 13:36:08 ns1 named[32135]: no longer listening on 127.0.0.1#53
Nov 18 13:36:08 ns1 named[32135]: no longer listening on 88.191.31.101#53
Nov 18 13:36:08 ns1 named[32135]: exiting
Nov 18 13:36:11 ns1 named[32579]: starting BIND 9.5.0-P2 -u bind
Nov 18 13:36:11 ns1 named[32579]: found 1 CPU, using 1 worker thread
Nov 18 13:36:11 ns1 named[32579]: loading configuration from
'/etc/bind/named.conf'
*Nov 18 13:36:11 ns1 named[32579]: no IPv6 interfaces found
*Nov 18 13:36:11 ns1 named[32579]: listening on IPv4 interface lo,
127.0.0.1#53
Nov 18 13:36:11 ns1 named[32579]: listening on IPv4 interface eth0,
88.191.31.101#53
Nov 18 13:36:11 ns1 named[32579]: default max-cache-size (33554432) applies
Nov 18 13:36:11 ns1 named[32579]: automatic empty zone: 254.169.IN-ADDR.ARPA

Nov 18 13:36:11 ns1 named[32579]: automatic empty zone: 2.0.192.IN-ADDR.ARPA

________________________________________________________________________


Any idea of what's wrong ?
Regards,
Thomas.


Next, configuration files and other logs :



my named.conf.options is :
_________________________________________________________________
        auth-nxdomain no;    # conform to RFC1035
        listen-on    { 127.0.0.1; 88.191.31.101; };
        listen-on-v6 {any; };//before I set the ipv6 address, I set to any
to be more open without success
        allow-transfer {
            127.0.0.1;     //localhost
            88.191.31.101;
            2a01:e0b:1:31:240:63ff:fee5:c74a;
        };
 match-mapped-addresses yes;

};
_________________________________________________________________

ifconfig output :
_________________________________________________________________
thomas at ns1:/etc/bind$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:63:e5:c7:4a
          inet addr:88.191.31.101  Bcast:88.191.31.255  Mask:255.255.255.0
          inet6 addr: 2a01:e0b:1:31:240:63ff:fee5:c74a/64 Scope:Global
          inet6 addr: fe80::240:63ff:fee5:c74a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:613649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142920 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:58245990 (58.2 MB)  TX bytes:22161493 (22.1 MB)
          Interrupt:18 Base address:0xfc00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:42140 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42140 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4333412 (4.3 MB)  TX bytes:4333412 (4.3 MB)
_________________________________________________________________

my /etc/network/interfaces
_________________________________________________________________
thomas at ns1:/etc/bind$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet  loopback
iface lo inet6 loopback

# The primary network interface
auto eth0
iface eth0 inet static
                        address   88.191.31.101
                        netmask   255.255.255.0
                        network   88.191.31.0
                        broadcast 88.191.31.255
                        gateway   88.191.31.1
iface eth0 inet6 static
                        address  2a01:e0b:1:31:240:63ff:fee5:c74a
                        netmask  64
                        gateway  2a01:e0b:1:31::1
_________________________________________________________________



firewall allow ipv6 udp on port 53 :

_________________________________________________________________
thomas at ns1:~$ sudo ufw status
Status: loaded

To                         Action  From
--                         ------  ----
53/tcp                     ALLOW   Anywhere
53/udp                     ALLOW   Anywhere
80/tcp                     ALLOW   Anywhere
22/tcp                     ALLOW   88.166.6.71
22/tcp                     ALLOW   213.218.132.220
22/tcp                     DENY    Anywhere
22/udp                     DENY    Anywhere
53/tcp                     ALLOW   Anywhere (v6)
53/udp                     ALLOW   Anywhere (v6)
80/tcp                     ALLOW   Anywhere (v6)
22/tcp                     DENY    Anywhere (v6)
22/udp                     DENY    Anywhere (v6)
_________________________________________________________________


machine is reachable on ipv6 from another host :
_________________________________________________________________
thomas at home:~$ ping6 ns1.ordiworld.fr
PING ns1.ordiworld.fr(2a01:e0b:1:31:240:63ff:fee5:c74a) 56 data bytes
64 bytes from 2a01:e0b:1:31:240:63ff:fee5:c74a: icmp_seq=1 ttl=60 time=38.1
ms
64 bytes from 2a01:e0b:1:31:240:63ff:fee5:c74a: icmp_seq=2 ttl=60 time=33.9
ms
^C
--- ns1.ordiworld.fr ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1009ms
rtt min/avg/max/mdev = 33.902/36.027/38.152/2.125 ms
_________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20081118/86fe9e55/attachment.html>


More information about the bind-users mailing list