[Bug 249824] Re: [intrepid] IPv6 unusable

malaiwah michel.belleau at malaiwah.com
Mon Oct 6 19:56:11 BST 2008


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 at newborn:~# cat /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80       lo
20014830xxxxxxxxxxxxxxxxxxxxxxx 05 40 00 80    sixxs
fe80000000000000021b21fffe22ccf3 02 40 20 80     eth0
fe800000000000000000000046262579 05 80 20 80    sixxs

root at 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/ae84fcc0de3cb407/7b559fea0385cc07?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
*-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.

-- 
[intrepid] IPv6 unusable
https://bugs.launchpad.net/bugs/249824
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.



More information about the Ubuntu-server-bugs mailing list