Re: [Bug 340383] [NEW] dhcpd sends 127.0.1.1 as DNS server

2009-03-10 Thread Mathias Gug
On Tue, Mar 10, 2009 at 09:01:48AM -, Patrick Ben Koetter wrote:
> Ubuntu configures sets the hostname in /etc/hosts and assigns it to
> 127.0.1.1:
> 
> 127.0.0.1 localhost
> 127.0.1.1 server.example.com server
> 
> The dhcpd server picks this up and sends it as primary DNS server (DHCP and 
> DNS are on the same machine here) to dhcp clients (see attached dhcpdump 
> output).
> Assigning the wrong DNS server leads to timeouts on Mac and Linux (Unix) 
> clients, but it does not seem to affect Windows systems.
> 

Could you post /etc/dhcpd.conf and /etc/resolv.conf from the system
running the dhcpd server?

  status incomplete

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com


** Changed in: dhcp3 (Ubuntu)
   Status: New => Incomplete

-- 
dhcpd sends 127.0.1.1 as DNS server
https://bugs.launchpad.net/bugs/340383
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 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


[Bug 340383] [NEW] dhcpd sends 127.0.1.1 as DNS server

2009-03-10 Thread Patrick Ben Koetter
Public bug reported:

Binary package hint: dhcp3-server

I believe this is a bug.

Ubuntu configures sets the hostname in /etc/hosts and assigns it to
127.0.1.1:

127.0.0.1 localhost
127.0.1.1 server.example.com server

The dhcpd server picks this up and sends it as primary DNS server (DHCP and DNS 
are on the same machine here) to dhcp clients (see attached dhcpdump output).
Assigning the wrong DNS server leads to timeouts on Mac and Linux (Unix) 
clients, but it does not seem to affect Windows systems.

As soon as I comment 127.0.1.1 in /etc/hosts out and restart the dhcpd
server the problem is gone.

I did not find a configuration option for dhcpd to supress this and I
also think even if it was there it should not be used for this. The
entry 127.0.1.1 seems to be wrong in my opinion.

Thanks.

** Affects: dhcp3 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
dhcpd sends 127.0.1.1 as DNS server
https://bugs.launchpad.net/bugs/340383
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 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