DHCP client and search

J. Pablo Fernández pupeno at pupeno.com
Tue Sep 18 15:01:15 UTC 2007


On Tuesday 18 September 2007 14:37:50 Colin Watson wrote:
> On Tue, Sep 18, 2007 at 11:54:58AM +0100, J. Pablo Fernández wrote:
> > I'd like to "inject" a "search" statement in the /etc/resolv.conf when
> > using DHCP to get my ip?
>
> In /etc/dhclient.conf:
>
>   supersede domain-name my.domain.name;

It still puts:

search some.domain

and not what I've specified (note: I'm using knetworkmanager, but I believe it 
still uses dhcp3 because other configurations I write there have effect).

Thanks.
-- 
J. Pablo Fernández <pupeno at pupeno.com> (http://pupeno.com)




More information about the ubuntu-users mailing list