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.
case $host in
*-linux*)
# Some recent versions of glibc support getifaddrs() which does not
# provide AF_INET6 addresses while the function provided by the USAGI
# project handles the AF_INET6 case correctly. We need to avoid
# using the former but prefer the latter unless overridden by
# --enable-getifaddrs=glibc.
if test $want_getifaddrs = glibc
then AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
else save_LIBS="$LIBS" LIBS="-L/usr/local/v6/lib $LIBS" AC_CHECK_LIB(inet6, getifaddrs, LIBS="$LIBS -linet6" AC_DEFINE(HAVE_GETIFADDRS), LIBS=${save_LIBS})
fi
;;
*) AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
;;
esac
I will try re-building BIND 9.5.0 from source with this config change to know if this fixes it.
Here are my two cents, my IPV6 is correctly enabled, but BIND does not listens on the interface (I changed some bits for xxxxx in this output though):
root@newborn:~# cat /proc/net/if_inet6 000000000000000 01 01 80 10 80 lo xxxxxxxxxxxxxxx x 05 40 00 80 sixxs 0021b21fffe22cc f3 02 40 20 80 eth0 000000000462625 79 05 80 20 80 sixxs
000000000000000
20014830xxxxxxx
fe8000000000000
fe8000000000000
root@newborn:~# netstat -an6
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::21 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 272 2001:xxxx:::22 2001:xxxx:50138 ESTABLISHED
But I found this post while searching for an answer: http:// groups. google. com/group/ comp.protocols. dns.bind/ browse_ thread/ thread/ ae84fcc0de3cb40 7/7b559fea0385c c07?lnk= raot
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.
case $host in getifaddrs= glibc.
AC_CHECK_ FUNC(getifaddrs , AC_DEFINE( HAVE_GETIFADDRS ))
save_ LIBS="$ LIBS"
LIBS= "-L/usr/ local/v6/ lib $LIBS"
AC_CHECK_ LIB(inet6, getifaddrs,
LIBS= "$LIBS -linet6"
AC_DEFINE( HAVE_GETIFADDRS ),
LIBS= ${save_ LIBS})
AC_CHECK_ FUNC(getifaddrs , AC_DEFINE( HAVE_GETIFADDRS ))
*-linux*)
# Some recent versions of glibc support getifaddrs() which does not
# provide AF_INET6 addresses while the function provided by the USAGI
# project handles the AF_INET6 case correctly. We need to avoid
# using the former but prefer the latter unless overridden by
# --enable-
if test $want_getifaddrs = glibc
then
else
fi
;;
*)
;;
esac
I will try re-building BIND 9.5.0 from source with this config change to know if this fixes it.