LinuxQuestions.org
Visit Jeremy's Blog.
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
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
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
Posts: 3,935
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration