LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 10-18-2009, 06:38 PM   #1
Noahetrex
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, 06:42 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,689

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

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


Reply

Tags
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 04:36 AM
OpenDNS+Xubuntu Amdx2_x64 Linux - Networking 5 08-11-2008 12:50 AM
alternatives to OpenDNS? slackhack Linux - Networking 9 04-27-2008 08:24 PM
OpenDNS with DynDNS using inadyn almost000 Linux - Software 3 09-05-2007 11:43 PM
OpenDNS adriv Slackware 7 05-05-2007 06:29 PM


All times are GMT -5. The time now is 01:18 AM.

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