Chnage DNS Mint 18.3

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
TekNoMad
Level 1
Level 1
Posts: 5
Joined: Mon Jun 05, 2017 4:02 am

Chnage DNS Mint 18.3

Post by TekNoMad » Wed Apr 11, 2018 2:38 pm

I am completely baffled as to how to change the primary DNS in Mint 18.3 and remove the Original one issued by my ISP. I've changed it in /etc/reslov.conf and every other directory and config file i could possibly find through searches. Made the files immutable, tried changing in the router itself. I've managed to get new DNS listed but only as the 3rd and forth but nothing overides the original 192.168.0.1 and it still shows in the primary.
At this point I'm not even sure which file actually added my preferred DNS to the entries but My primary still remains unchanged. Any help would be greatly appreciated. Not sure why it's not a simple change from the network manager in the first place? Why make it so convoluted and hidden???

Mattyboy
Level 6
Level 6
Posts: 1028
Joined: Thu Mar 26, 2015 2:17 pm

Re: Chnage DNS Mint 18.3

Post by Mattyboy » Wed Apr 11, 2018 3:23 pm

TekNoMad wrote:
Wed Apr 11, 2018 2:38 pm
I am completely baffled as to how to change the primary DNS in Mint 18.3
Click your desktop network manager icon.
Select Network connections
Highlight either the Ethernet or WiFi connection and click edit.
Click IPv4 Settings
Enter your preferred DNS service numbers into the boxes.

For example openDNS

208.67.222.222
208.67.220.220

Click save and restart your network manager. Done.

192.168.0.1

Is your local IP address, not a DNS service.

User avatar
smurphos
Level 5
Level 5
Posts: 697
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Chnage DNS Mint 18.3

Post by smurphos » Thu Apr 12, 2018 12:23 am

Mattyboy wrote:
Wed Apr 11, 2018 3:23 pm

192.168.0.1

Is your local IP address, not a DNS service.
Or potentially the router/modem IP address and the router/modem has ISP set DNS providers.

If you have a multidevice household and the router settings allow you to do so it is often more straightforward to change the DNS settings on the router rather than on a device by device basis.

User avatar
wallyUSA
Level 4
Level 4
Posts: 409
Joined: Thu Jun 08, 2017 2:31 pm
Location: N. Georgia Mtns USA (UTC-4/5)

Re: Chnage DNS Mint 18.3

Post by wallyUSA » Thu Apr 12, 2018 7:50 am

smurphos wrote:
Thu Apr 12, 2018 12:23 am
...

If you have a multidevice household and the router settings allow you to do so it is often more straightforward to change the DNS settings on the router rather than on a device by device basis.
This sounds like a GOOD ANSWER. Most of us do have a multidevice household (cpu, phone, tablet, TV and soon our appliances)! :!:
Tara Cinnamon 3.8.3 Kernel 4.15.0-22 (64 bit)
Please, if your query has been resolved, edit your first post and add [SOLVED] to the subject line.

TekNoMad
Level 1
Level 1
Posts: 5
Joined: Mon Jun 05, 2017 4:02 am

Re: Chnage DNS Mint 18.3

Post by TekNoMad » Thu Apr 12, 2018 6:06 pm

Thanks for the suggestions. Yeh, I'm gonna try just the isp router itself as Mint 18.3 doesn't list a prefered DNS in the network manager. Just "additional DNS" Seems odd that you can only add additional DNS but not change the preferred. I added them in the network manager and it just lists them as position 3 and 4. But no option to change preferred. But I appreciate the quick responses. Hopefully I'll have luck with just the router itself.

User avatar
phd21
Level 16
Level 16
Posts: 6208
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Chnage DNS Mint 18.3

Post by phd21 » Thu Apr 12, 2018 9:34 pm

HI tekNoMad,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It is a great idea for everyone to change their local ISP's default DNS server IP addresses to those from a safe, secure, and anonymous DNS provider, like "dns.watch", new "Cloudflare", "opennic", "OpenDNS", etc...

It is really easy to change them from your Linux Mint desktops and other devices. If you change them in the hardware router, all devices that connect to it will automatically use them without having to change each device manually, which is especially handy if you have smart children that you do not want going to certain websites but know how to change the DNS entries on their computers and devices (router is password protected). Do not forget to restart computers and other devices for changes to take effect.

I just change my computer desktops. The Links below from "openDNS" and "Cloudflare" have simple instructions on how to change your local ISP's default DNS server IP addresses for your computers, hardware routers, and devices. You can use "openDNS" entries (family safe, or regular non-censored) or any other DNS provider you want. FYI: If you change the router's default DNS server IP addresses to "family safe" ones, then any adults and their computers and devices will also be restricted from accessing certain websites (unless you "bridge" a 2nd router to the main router with its own login with family safe DNS for the children). There are also many posts on doing this in this forum as well.

Setup Guide | OpenDNS - click routers for routers, or click computer workstations and laptops and look for Linux Mint.
https://www.opendns.com/setupguide/


Cloudflare DNS with instructions
1.1.1.1 — the Internet’s Fastest, Privacy-First DNS Resolver
https://1.1.1.1/

IPv4 DNS Entries: 1.1.1.1,1.0.0.1

IPv6 DNS Entries: 2606:4700:4700::1111,2606:4700:4700::1001



Hope this helps ...
Cloudflare_DNS_IPv4.jpg
Local ISP DNS IPv4 Entries (Linux Mint KDE)
.
Cloudflare_DNS_IPv6.jpg
Local ISP DNS IPv6 Entries (Linux Mint KDE)
.
Cinnamon183_Local_ISP_DNS_Server_changes1.jpg
Linux Mint Cinnamon Local ISP DNS IPv4 Entries
Last edited by phd21 on Fri Apr 13, 2018 12:08 pm, edited 2 times in total.
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
trytip
Level 6
Level 6
Posts: 1440
Joined: Tue Jul 05, 2016 1:20 pm

Re: Chnage DNS Mint 18.3

Post by trytip » Thu Apr 12, 2018 10:40 pm

to see your current DNS? check here standard test https://www.dnsleaktest.com/ <<< is your DNS the one you want? and don't edit the resolv.conf change your DNS from the network tray
right click on net icon > edit connections > select your wifi or wlan > ipv4 settings > method (automatic (DHCP) address only > DNS servers > and enter your dns in this format 208.67.222.222, 208.67.220.220 >save if you need to enter ipv6 dns use the same method

is your connection shows 192.168.0.1 but DNS is 208.67.222.222 or whatever you use ?
Image

User avatar
Pierre
Level 16
Level 16
Posts: 6737
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Chnage DNS Mint 18.3

Post by Pierre » Thu Apr 12, 2018 10:48 pm

if you have just a few machines, then you can change the settings for each machine,
but if you have several machines, then it would pay to change the router settings instead.
8)
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

Post Reply

Return to “Other networking topics”