You are not logged in.
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
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.4For 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
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 lineOffline
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
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
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
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
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
Or according to NM wiki: https://wiki.archlinux.org/index.php/Ne … ect_faster
Offline