Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-18-2009, 07:38 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 8

Rep: Reputation: 0
Force openDNS

I am using openDNS on my current Linux box and I was wondering if their is a way to force the DNS settings to stay the same even if ROOT tries to change it (since my dad wants content filtering password protected and I still want my computers root access...)

Thanks in advance!
Old 10-18-2009, 07:42 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,908

Rep: Reputation: Disabled
if root wants it changed ,then it changes .
Old 10-18-2009, 10:14 PM   #3
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
First prepare resolv.conf just the way you want it. Then:
# chattr +i /etc/resolv.conf
It's immutable. Unless you expect someone with root access to intentionally remove the attribute, you're all set.


dns, force, opendns

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenDNS alternative? litlmary Linux - Networking 7 12-21-2008 05:36 AM
OpenDNS+Xubuntu Amdx2_x64 Linux - Networking 5 08-11-2008 01:50 AM
alternatives to OpenDNS? slackhack Linux - Networking 9 04-27-2008 09:24 PM
OpenDNS with DynDNS using inadyn almost000 Linux - Software 3 09-06-2007 12:43 AM
OpenDNS adriv Slackware 7 05-05-2007 07:29 PM

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration