Posts: 7
Joined: Wed Feb 14, 2018 6:27 pm

Add additional DNS servers

Wed Feb 14, 2018 6:32 pm

Hello all,

I'm using Raspbian Jessie and I'd like to add Google DNS servers to the list of DNS servers supplied by my DHCP server (my router). I've been trying several configuration files to add the additional DNS servers, but I'm not able to make them appear at /etc/resolv.con file.

So, is there anyone here that knows how to add additional DNS servers to all interfaces in Raspbian Jessie?

Thanks in advance!

User avatar
Posts: 5681
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Add additional DNS servers

Wed Feb 14, 2018 6:53 pm

Normally you disable "use DNS from DHCP" and have to enter all entries manually. So you just add googles DNS and your router to that list.
But I have to say I havent done this in the Pi desktop lately, this is what I see in other Operating systems.

User avatar
Posts: 35798
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Add additional DNS servers

Thu Feb 15, 2018 6:00 am

Have you thought about the more mundane option of changing the settings in your router?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Posts: 53
Joined: Sun Sep 04, 2016 2:32 pm

Re: Add additional DNS servers

Thu Feb 15, 2018 2:39 pm

Or install pihole.

This from "change dns debian" GoOgle: [url][/url]

Return to “Raspbian”