[Bug 669751] [NEW] bind listens on 127.0.0.1:53 rather than *:53
Tim Nicholas
tjn at wetafx.co.nz
Tue Nov 2 03:16:39 GMT 2010
Public bug reported:
Binary package hint: bind9
Bind appears to be listening on specific addresses rather than on all
interfaces. This wouldn't be a problem except that on modern Ubuntu
systems the local host name is configured in /etc/hosts to by on
127.0.1.1 rather than the same IP as localhost (127.0.1.1).
root at hostname:~# netstat -nlp | grep named
tcp 0 0 192.168.1.71:53 0.0.0.0:* LISTEN 30752/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 30752/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 30752/named
udp 0 0 192.168.1.71:53 0.0.0.0:* 30752/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 30752/named
root at hostname:~#
The net result of this is that this command will fail ("Connection
timeout; no servers could be reached") on a normal install of ubuntu
with a bind9 install:
$ dig @`hostname` <any host name>
Whereas it should behave the same as:
$ dig @localhost <any host name>
I don't understand the motivation that Ubuntu had for setting '127.0.1.1
hostname hostname.domain' in /etc/hosts but given that it does, all
daemons need to support it.
** Affects: bind9 (Ubuntu)
Importance: Undecided
Status: New
--
bind listens on 127.0.0.1:53 rather than *:53
https://bugs.launchpad.net/bugs/669751
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