Linux Mint 19 cinnamon permanent nameserver problem

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
cybercitizen
Level 1
Level 1
Posts: 2
Joined: Wed Jul 18, 2018 9:54 am

Linux Mint 19 cinnamon permanent nameserver problem

Post by cybercitizen » Wed Jul 18, 2018 10:03 am

hello friends.
i am a mint user and i was using mint 18.
After mint 19 released i set it up my computer but i have a problem.
i can not change nameserver to 208.67.222.222.
i could change it in mint 18 through comment out "dnsmasq" value in the NetworkManager.conf file but in mint 19 i can't find this value and i tried different solutions that i found on the internet but they haven't worked.
do you have any idea?
how can i set them as opendns?

blanco12
Level 1
Level 1
Posts: 7
Joined: Wed Jul 18, 2018 5:02 pm

Re: Linux Mint 19 cinnamon permanent nameserver problem

Post by blanco12 » Wed Jul 18, 2018 5:04 pm

The logical way would be to put your entries in /etc/resolv.conf/base but for some reason it doesn't work. It seems that this file is ignored during the generation of the resolv.conf fileWhat I ended up doing to fix a similar problem, is to put all of what I want in my resolv.conf in /etc/resolvconf/head.

____________________________
CCleanerHappy WheelsVLC
Last edited by blanco12 on Fri Jul 20, 2018 12:37 pm, edited 1 time in total.

blockhead47
Level 2
Level 2
Posts: 80
Joined: Wed Jun 15, 2016 4:50 pm
Location: Chicago, IL, USA

Re: Linux Mint 19 cinnamon permanent nameserver problem

Post by blockhead47 » Thu Jul 19, 2018 8:55 am

See if this helps viewtopic.php?f=46&t=273482

cybercitizen
Level 1
Level 1
Posts: 2
Joined: Wed Jul 18, 2018 9:54 am

Re: Linux Mint 19 cinnamon permanent nameserver problem

Post by cybercitizen » Fri Jul 20, 2018 7:51 am

hi all.
i have solved my problem with this solution:

1- First of all I installed "resolvconf" -- sudo apt install resolvconf -
2- After i installed the resolvconf, i add opendns addresses into this file -- /etc/resolvconf/resolv.conf.d/tail
3- Restart
Now, nameserver addresses we prefer are added into /etc/resolv.conf which is linked with /run/resolvconf/resolv.conf

Post Reply

Return to “Other networking topics”