Re: resolv.conf ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 05, 2012 at 20:19:19 -0400,
  Jim <binarynut@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux