i need to keep nwam from changing resolv.conf ( osol 2009.06 & OpenDNS nameservers )
Im trying to configure my laptop running OpenSolaris 2009.06 to use OpenDNS nameservers, regardless of where i am / what dhcp server i am connected to.
I set the nameservers in resolv.conf but when i restart nwam, resolv.conf gets overwritten with the nameservers supplied by the dhcp server.
I have tried the following:
chmod -w /etc/resolv.conf
didnt solve the problem
made the following changes to /etc/default/dhcpagent
# edited below by joe to prevent taking dns from dhcp
Please also note that the dhcp server im trying this out with is a netgear FWG114P wireless router. i doubt that makes a difference, but just in case. I have it currently set to use the ISP's nameservers, so that i can get the laptop to ignore the settings that the router is providing, this way when i go to a friends house or whatever, i can still use the dns servers of my choice.
Any help / insights appreciated!!