[Bug 456224] [NEW] Installing bind9 with forwarders causes loss of hostname resolution.
Public bug reported: Binary package hint: bind9 Ubuntu Karmic Koala 9.10 BETA FULLY updated via apt-get dist-upgrade bind9: 1:9.6.1.dfsg.P1-3 After bind9 is installed hostname resolution no longer occurs on programs such as ping. However dig resolves successfully via the local server. Bind9 has been configured to execute as a local-cache (i.e. no zones just caching forwarded requests). /etc/resolv.conf is EMPTY. /etc/nsswitch.conf contains: --- hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 --- /etc/bind9/named.conf.options contains: - options { directory /var/cache/bind; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. forwarders { 212.139.132.43; 212.139.132.44; }; auth-nxdomain no;# conform to RFC1035 listen-on-v6 { any; }; }; - Taking the DNS servers into /etc/resolv.conf and uninstalling bind9 results in hostname resolution being restored. THIS WORKS UNDER Ubuntu Intrepid 8.04. ** Affects: bind9 (Ubuntu) Importance: Undecided Status: New -- Installing bind9 with forwarders causes loss of hostname resolution. https://bugs.launchpad.net/bugs/456224 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 456224] [NEW] Installing bind9 with forwarders causes loss of hostname resolution.
On Tue, Oct 20, 2009 at 11:03:51AM -, cwsupport wrote: After bind9 is installed hostname resolution no longer occurs on programs such as ping. Uses the libc name resolution stack (configured via resolv.conf). However dig resolves successfully via the local server. Talks directly to the dns server, by passing the libc (and thus resolv.conf). /etc/resolv.conf is EMPTY. This is probably your problem. If resolv.conf is empty, dns name resolution won't work. Why is resolv.conf empty? Could you check if resolv.conf was empty *before* bind9 was installed? status incomplete importance low -- Mathias Gug Ubuntu Developer http://www.ubuntu.com -- Installing bind9 with forwarders causes loss of hostname resolution. https://bugs.launchpad.net/bugs/456224 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs