Re: /etc/dhclient.conf syntax?
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bob Tito gpg key http://www.btito.net/gpg Disclaimer: This message represents the official view of the voices in my head. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc/dhclient.conf syntax?
Bob Tito wrote: 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 Thanks. Fixing the spelling error, makes it work as expected. Maybe lack of sleep. Thanks once again... 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/etc/dhclient.conf syntax?
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; } 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]