/etc/dhclient.conf syntax?
    Bob Tito 
    lists at magicfingers.org
       
    Mon Nov  8 00:38:41 PST 2004
    
    
  
Gerard Samuel wrote:
> I cant seem to get a custom version of /etc/resolv.conf to stick.
> dhclient keeps overwriting it with data from my ISP's dhcp server.
> This is what I have in /etc/dhclient.conf ->
> interface "ed0" {
>    supercede domain-name "trini0.org";
>    prepend domain-name-servers 127.0.0.1;
> }
This is mine,
interface "xl0" {
         prepend domain-name-servers 127.0.0.1;
         supersede domain-name "btito.local";
         media "media 10baseT/UTP";
}
resulting in:
mail# cat /etc/resolv.conf
search btito.local
nameserver 127.0.0.1
nameserver 194.xxx.xxx.xxx
nameserver 194.xxx.xxx.xxx
Fix the typo in supersede if this is a try copy and paste form the file.
Best regards, Bob
> 
> And for some reason, /etc/resolv.conf *always* comes back as ->
> search some_name.attbi.com
> nameserver www.xxx.yyy.zzz
> nameserver www.xxx.yyy.zzz
> 
> Is there anyway to make /etc/resolv.conf stick??
> Thanks
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
-- 
Bob Tito
gpg key http://www.btito.net/gpg
Disclaimer:
This message represents the official view of the voices in my head.
    
    
More information about the freebsd-questions
mailing list