Bind 9.5.0-Pl not finding existing IPv6 interface

Mark Andrews Mark_Andrews at isc.org
Sat Jul 12 00:07:14 UTC 2008


> 
> > Not using a chroot setup.
> > 
> > It does not matter whether I run the service as "root" or "named", I
> > still get "no IPv6 interfaces found".
> > 
> > # /usr/local/sbin/named -f -g
> > 11-Jul-2008 10:36:05.671 starting BIND 9.5.0-P1 -f -g
> > 11-Jul-2008 10:36:05.674 loading configuration from '/etc/named.conf'
> > 11-Jul-2008 10:36:05.675 the working directory is not writable
> > 11-Jul-2008 10:36:05.675 no IPv6 interfaces found
> > 11-Jul-2008 10:36:05.676 listening on IPv4 interface lo, 127.0.0.1#53
> > 
> > # /usr/local/sbin/named -u named -f -g
> > 11-Jul-2008 10:33:59.184 starting BIND 9.5.0-P1 -u named -f -g
> > 11-Jul-2008 10:33:59.188 loading configuration from '/etc/named.conf'
> > 11-Jul-2008 10:33:59.188 the working directory is not writable
> > 11-Jul-2008 10:33:59.189 no IPv6 interfaces found
> > 11-Jul-2008 10:33:59.189 listening on IPv4 interface lo, 127.0.0.1#53
> > 
> > /proc/net/if_inet6 exists and contains the correct IPv6 addresses.
> > 
> > # cat /proc/net/if_inet6
> > 200104681da000000000000000000023 02 40 00 80     eth0
> 00000000000000000000000000000001 01 80 10 80       lo
> > fe80000000000000020423fffe7955a4 02 40 20 80     eth0
> > 
> > 
> > Basic setup:
> > /var/named/data
> > /var/named/slaves
> > /etc/named.conf
> > 
> > Options from named.conf:
> > options {
> >         cleaning-interval 120;
> >         version "";
> >         directory "/var/named";
> >         dump-file "/var/named/data/cache_dump.db";
> >         notify no;
> >         allow-query { any; };
> >         pid-file "/var/named/named.pid";
> >         listen-on { any; };
> >         listen-on-v6 { any; };
> > };
> > 
> > Tom
> 
> 	I wonder if you are hitting this problem?
> 	--enable-getifaddrs=no should work around it.
> 
> 	If that doesn't work run 9.4.2-P1.

	In can you are wondering about why I said BIND 9.4.2-P1.
	BIND 9.5.0 changed the acl processing and if there a bug
	with IPv6 and acls in the new code it won't be in BIND
	9.4.2-P1.

	Mark
 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list