On Sun, Aug 05, 2012 at 20:19:19 -0400,
  Jim <binary...@comcast.net> wrote:
F17

How do I LOCK-IN namserver ijn resolv.conf so it cannot be changed by Fedora ?

I run a local caching resolver on most of my machines, and I have found that it isn't hard to override the name server and search list while still using dchp. It does seem hard to find out how to do this though.

I put the following in /etc/dhcp/dhclient.conf:
supersede domain-name-servers 127.0.0.1;
supersede domain-search "wolff.to";
supersede host-name "laptop";
request subnet-mask,  broadcast-address, routers, interface-mtu;

Then I made sym links from /etc/dhcp/dhclient-wlan0.conf and /etc/dhcp/dhclient-em1.conf to /etc/dhcp/dhclient.conf to make the rules apply to connections from the em1 and wlan0 interfaces. You might want to use eth0 instead of em1 if that's what your interface is named.

Doing this will probably break wifi connections that lock you down until you visit their captive web page when you authenticate and/or agree to a usage policy.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to