skakz Guru
Joined: 03 Jul 2004 Posts: 380 Location: Ischia/Napoli/Italia/Terra
|
Posted: Sun Oct 08, 2006 7:15 pm Post subject: bind wont listen on ipv6 interfaces |
|
|
tryng to upgrade named i have this error:
from syslog:
Code: | Oct 8 15:44:25 nrcserver named[26655]: starting BIND 9.2.6 -u named -n 1
Oct 8 15:44:25 nrcserver named[26655]: using 1 CPU
Oct 8 15:44:25 nrcserver named[26655]: loading configuration from '/etc/bind/named.conf'
Oct 8 15:44:25 nrcserver named[26655]: listening on IPv6 interfaces, port 53
Oct 8 15:44:25 nrcserver named[26655]: socket.c:1499: unexpected error:
Oct 8 15:44:25 nrcserver named[26655]: setsockopt(20, IPV6_RECVPKTINFO) failed: Protocol not available
Oct 8 15:44:25 nrcserver named[26655]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 8 15:44:25 nrcserver named[26655]: binding TCP socket: address in use
Oct 8 15:44:25 nrcserver named[26655]: command channel listening on 127.0.0.1#953
Oct 8 15:44:25 nrcserver named[26655]: command channel listening on ::1#953 |
bind compiled with use flags:
Code: | berkdb ipv6 ssl -dlz -doc -idn -ldap -mysql -odbc -postgres (-selinux) -threads (-bind-mysql%) |
i tried almost all the version in portage and all gives me that error!!!!
from netstat i can see the listening connections but no one works
Code: | udp 0 0 :::53 :::* 8618/named
udp 0 0 ::192.168.0.1:53 :::* 8618/named
udp 0 0 fe80::c0a8:1:53 :::* 8618/named
udp 0 0 fe80::250:fcff:fe77::53 :::* 8618/named
udp 0 0 2001:5c0:918a::a:53 :::* 8618/named
udp 0 0 2001:1418:1c2::a:53 :::* 8618/named
udp 0 0 ::127.0.0.1:53 :::* 8618/named
udp 0 0 ::192.168.222.55:53 :::* 8618/named
udp 0 0 ::82.55.143.13:53 :::* 8618/named
udp 0 0 fe80::5237:8f0d:53 :::* 8618/named
udp 0 0 2001:1418:1c2::6:53 :::* 8618/named
udp 0 0 2001:1418:100:149::2:53 :::* 8618/named
udp 0 0 ::1:53 :::* 8618/named
udp 0 0 2001:5c0:918a::1:53 :::* 8618/named
udp 0 0 2001:1418:1c2::1:53 :::* 8618/named
udp 0 0 2001:1418:1c2::66:53 :::* 8618/named |
option section in named.conf:
Code: | auth-nxdomain yes; # conform to RFC1035
directory "/var/bind";
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { any; };
allow-query { any; };
pid-file "/var/run/named/named.pid"; |
the running one version is a "three years old one" compiled on a non gentoo server.
emerge --info
Code: | Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.12-gentoo-r10-nrc i686)
=================================================================
System uname: 2.6.12-gentoo-r10-nrc i686 Pentium III (Coppermine)
Last Sync: Wed, 04 Oct 2006 17:00:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts berkdb bitmap-fonts cli crypt dlloader dri eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg pcre perl png pppd python qt3 qt4 quicktime readline reflection session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_savage video_cards_vesa video_cards_vga vorbis xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
_________________ Linux Registered User n.340423
Linux User Group Ischia
www.tush.it |
|