You are not logged in.

#1 2012-07-01 10:13:17

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

OpenDNS setup and question?

Hi all,

My children have reached the critical age - they starting to use the internet...

In order to protect the content they can reach, I want to set up my router to use OpenDNS. However I want our desktop to use regular DNS.

So if I set up the router to use OpenDNS DNS  is there a way to give our desktop running on arch obviously to use google DNS?

If possible how to set up the desktop to use Google dns?

Looking forward for your reply,

Offline

#2 2012-07-01 10:23:05

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: OpenDNS setup and question?

You can just configure the pc's to use the relevant dns servers directly (not pointing to the router). In Arch this would mean putting them in /etc/resolv.conf.

So in case of using Google's DNS servers, that would look like:

nameserver 8.8.8.8
nameserver 8.8.4.4

For your children's pc(s), do the same thing but then with the Opendns ip's instead. Or if they're running Windows/Mac OS/..., do the same thing in the relevant config section there.


Burninate!

Offline

#3 2012-07-01 10:28:15

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: OpenDNS setup and question?

Many thanks for the prompt reply.

I want to set up the router because of the amount of devices connected to it they have access to it - a media box, tablet, etc

Just to be sure, if I set up the router with OpenDNS and my desktop's  '/etc/resolv.conf' will that work?

So the file should look like that: (?)

# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain lan
nameserver 8.8.8.8
nameserver 8.8.4.4
# /etc/resolv.conf.tail can replace this line

Offline

#4 2012-07-01 10:48:11

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: OpenDNS setup and question?

Ok, it's fairly tedious to have to do it on all involved devices then indeed.

Simply setting up the router with the OpenDNS ip's and using an explicit config on your Arch machine (and any other device that should be excluded) as you already indicated should do the trick.


Burninate!

Offline

#5 2012-07-01 10:50:03

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: OpenDNS setup and question?

Excellent,

Again many thanks for your prompt reply and assistance in the matter.

Does the file change I made an posted previously is correct?

Offline

#6 2012-07-01 10:54:46

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: OpenDNS setup and question?

The syntax of the file looks fine to me.

Keep in mind though, that if you're using a "network manager" (networkmanager, wicd,...) that these have a dns config of their own and will overwrite whatever you put in /etc/resolv.conf. So you'll need to make the changes in the relevant profile of said application. If you're not using any of these, then simply editing /etc/resolv.conf with what you posted earlier will get you up and running.


Burninate!

Offline

#7 2012-07-01 11:04:16

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

Re: OpenDNS setup and question?

I am using networkmanager (on gnome-shell) but can't access the preferences. I also thought it was using the system set up files?

Offline

#8 2012-07-01 11:14:23

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: OpenDNS setup and question?

I don't use networmanager myself; but according to this wiki section, it should be pretty easy to solve (basically edit the resolv.conf file directly and don't allow networkmanager to change it).


Burninate!

Offline

#9 2012-07-01 11:23:13

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,491

Re: OpenDNS setup and question?

Offline

Board footer

Powered by FluxBB