On Mon, May 19, 2008 at 10:25:04PM -0400, Jerry Quinn wrote:
> Package: dhcp3-client
> Version: 3.1.0-5
> Severity: normal
> 
> dhcp-client is writing a bogus resolv.conf file that looks like this:
> 
> domain
> search  mywork.com
> nameserver 192.168.1.1
> 
> In my dhclient.conf, I have
> 
> append domain-name " mywork.com";
> 
> What I'm doing is that at work, I normally get a domain like site.mywork.com
> and I also want short names to search against mywork.com.  At home,
> there's no particular domain to use, and I get handed the above resolv.conf
> which is partially broken.  In particular,
> 
> naga:/home/jlquinn# host debian.org
> host: parse of /etc/resolv.conf failed
> naga:/home/jlquinn# 
> 
> Resolv.conf was written correctly until a couple of months ago.
> 

I think you're being affected by the changes made to support domain-search.
Please see the NEWS.Debian file for dhcp3-client. I think that because
you've got a leading space in the domain-name option, it's messing up the
transition support for people who were using domain-name to provide
domain-search type functionality.

The bulk of your problems will go away if you remove the leading space. If
what you want to do is influence the domain search list, use the
domain-search option instead.

regards

Andrew

Attachment: signature.asc
Description: Digital signature

Reply via email to