Re: resolv.conf ??
On Sun, Aug 05, 2012 at 20:19:19 -0400, Jim <binarynut@xxxxxxxxxxx> wrote:
F17How 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
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]