dhclient.conf + resolv.conf

Jonathan Horne freebsd at dfwlp.com
Sun Mar 4 03:09:44 UTC 2007


On Friday 02 March 2007 15:16, J.D. Bronson wrote:
> I am trying to have dhclient setup my resolv.conf perfect.
> I am very close.
>
> I have this in dhclient.conf:
>
> -------------------------
> interface "bge1" {
>      supersede domain-name "wixb.com";
>      prepend domain-name-servers 192.l68.1.1;
>      request subnet-mask, broadcast-address, routers, domain-name-servers;
>                   }
> ---------------------
> What this is giving me is this:
>
> search wixb.com
> nameserver 192.168.1.1
> nameserver 24.94.163.100
> nameserver 24.94.163.101
>
> What I would like to do is change the 'search' to 'domain' and cant
> figure out what I am missing?
>
> -JD

IMO, i think your setup is fine.  my opinion, is that 'search' is more useful 
than 'domain'.  they have the same basic functionality, until you need to 
search more than one domain by default.  but with just a single name, they 
seem to be functionally the same.

cheers,
jonathan


More information about the freebsd-questions mailing list