creating IPv6 interface eth0 failed; interface ignored

Wolfgang Riedel wriedel at me.com
Fri Aug 19 09:32:43 UTC 2016


Hi Folks,

not sure if this is a bug or a feature but had been scratching my head for months now running BIND on Fedora22-24 and all the time I did a reboot BIND didn’t came up and I needed to restart the process to get it running. After some googling around I realized that I am not alone with this but there has never been a clear solution beside some proposals to change the sequence of IPv4/IPv6 entries within ifcfg which didn’t work for me.

Finally I found a dependency but I am still not sure where the root course is related to, as it depends on if empty-zones-enable is set to yes/no?


named -v
BIND 9.10.4-P2-RedHat-9.10.4-1.P2.fc24


### bootup with: empty-zones-enable no;

[root at ns1 ~]# systemctl status named-chroot.service
● named-chroot.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2016-08-06 11:08:22 CEST; 16s ago
  Process: 1084 ExecStart=/usr/sbin/named -u named -t /var/named/chroot $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 1080 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (c
 Main PID: 1086 (named)
    Tasks: 5 (limit: 512)
   CGroup: /system.slice/named-chroot.service
           └─1086 /usr/sbin/named -u named -t /var/named/chroot

Aug 06 11:08:22 ns1.f1-online.net named[1086]: listening on IPv6 interface lo, ::1#53
Aug 06 11:08:22 ns1.f1-online.net named[1086]: listening on IPv6 interface eth0, 2001:67c:21b0:4029:193:34:29:244#53
Aug 06 11:08:22 ns1.f1-online.net named[1086]: could not listen on UDP socket: address not available
Aug 06 11:08:22 ns1.f1-online.net named[1086]: creating IPv6 interface eth0 failed; interface ignored
Aug 06 11:08:22 ns1.f1-online.net named[1086]: generating session key for dynamic DNS
Aug 06 11:08:22 ns1.f1-online.net named[1086]: sizing zone task pool based on 62 zones
Aug 06 11:08:22 ns1.f1-online.net named[1086]: using built-in root key for view _default
Aug 06 11:08:22 ns1.f1-online.net named[1086]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Aug 06 11:08:22 ns1.f1-online.net named[1086]: command channel listening on 127.0.0.1#953
Aug 06 11:08:22 ns1.f1-online.net systemd[1]: Started Berkeley Internet Name Domain (DNS).

[root at ns1 ~]# systemctl stop  named-chroot.service
[root at ns1 ~]# systemctl start  named-chroot.service
[root at ns1 ~]# systemctl status  named-chroot.service
● named-chroot.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2016-08-06 11:08:42 CEST; 803ms ago
  Process: 1197 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 1287 ExecStart=/usr/sbin/named -u named -t /var/named/chroot $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 1284 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (c
 Main PID: 1289 (named)
    Tasks: 5 (limit: 512)
   CGroup: /system.slice/named-chroot.service
           └─1289 /usr/sbin/named -u named -t /var/named/chroot

Aug 06 11:08:42 ns1.f1-online.net named[1289]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 06 11:08:42 ns1.f1-online.net named[1289]: listening on IPv4 interface eth0, 193.34.29.244#53
Aug 06 11:08:42 ns1.f1-online.net named[1289]: listening on IPv6 interface lo, ::1#53
Aug 06 11:08:42 ns1.f1-online.net named[1289]: listening on IPv6 interface eth0, 2001:67c:21b0:4029:193:34:29:244#53
Aug 06 11:08:42 ns1.f1-online.net named[1289]: generating session key for dynamic DNS
Aug 06 11:08:42 ns1.f1-online.net named[1289]: sizing zone task pool based on 62 zones
Aug 06 11:08:42 ns1.f1-online.net named[1289]: using built-in root key for view _default
Aug 06 11:08:42 ns1.f1-online.net named[1289]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Aug 06 11:08:42 ns1.f1-online.net named[1289]: command channel listening on 127.0.0.1#953
Aug 06 11:08:42 ns1.f1-online.net systemd[1]: Started Berkeley Internet Name Domain (DNS).



### bootup with: empty-zones-enable yes;

[root at ns0 ~]# systemctl status named-chroot.service
● named-chroot.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2016-08-06 11:10:58 CEST; 7s ago
  Process: 1083 ExecStart=/usr/sbin/named -u named -t /var/named/chroot $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 1080 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (c
 Main PID: 1086 (named)
    Tasks: 5 (limit: 512)
   CGroup: /system.slice/named-chroot.service
           └─1086 /usr/sbin/named -u named -t /var/named/chroot

Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: D.F.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: 8.E.F.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: 9.E.F.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: A.E.F.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: B.E.F.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: automatic empty zone: EMPTY.AS112.ARPA
Aug 06 11:10:58 ns0.f1-online.net named[1086]: command channel listening on 127.0.0.1#953
Aug 06 11:10:58 ns0.f1-online.net systemd[1]: Started Berkeley Internet Name Domain (DNS).

Any clue?

Thank you,
Wolfgang Riedel
________________________________________________________________


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160819/f393a885/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160819/f393a885/attachment.bin>


More information about the bind-users mailing list