[SOLVED] How to change the DNS server in Linux Mint, and should I?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks for all the above. I have reset my modem-router's configuration file back to its factory settings, but after altering in a text editor my online username and password for my ISP, it is probably exactly the same as it was previously. It is still 293 lines long, for example.
As it is slightly more understandable to adjust the settings in the config file rather than using its GUI, I have searched for all lines that mention DNS or DHCP. (Perhaps DHCP is irrelevant, but I am ignorant about this). Here they are:
More of the config file can be seen up this thread.
Does anyone understand these config file lines and could tell me what to do to adjust them so that the DNS lookup is done with 8.8.8.8 and 8.8.4.4 please?
My IP address changes every time I log on, so I think that means I have a dynamic something.
Thanks.
Last edited by grumpyskeptic; 01-27-2017 at 05:31 PM.
Does anyone understand these config file lines and could tell me what to do to adjust them so that the DNS lookup is done with 8.8.8.8 and 8.8.4.4 please?
i do not understand all, but i can say for sure that none of these lines defines a dns server.
afaiu, "create dhcp server pool start-ip 192.168.1.3 poolid 0 end-ip 192.168.1.65" refers to the dns server pool that is being presented to the connected computers, i.e. you could probably use 192.168.1.9 (or any address in the range defined) as a dns server, but where the router gets IPs resolved it doesn't say. (*)
on a side note i must say i don't understand why you so desperately want to use google's nameservers, with so many non-exploiting alternatives available.
you're probably much better off using whatever your IP provides you with.
(*) notice my frequent use of conditionals.
if you're not 100% sure, i'd suggest you not tinker with it.
unless of course that's what you want - see how far you can go with half a clue.
I have now successfully switched the DNS server, and this has survived me restarting the computer and modem-router two or three times, so problem solved. Modem-router passwords also changed.
ISPs are now required to record your internet history, but the ISP is repeatedly being hacked. Different incidents are reported in the press every few months, and this will not include the events they are not aware of or keep quiet about. In addition, I am frequently rung up by scammers due to a lot of personal details being stolen from the ISP's overseas call centre. Twice this week for example. At first the scammers spoke good english and were articulate, now they speak bad english and are inarticulate. I imagine this means the stolen details are being sold to or copied by a lot of different scammers who are trying their luck. I expect the ISPs still have ways of recording the internet history even if you don't use their DNS server. It is like the Post Office reading through every letter they deliver to you, something they have not done for two or three hundred years I imagine. I was burgled once, it is best to improve your security before being burgled rather than after.
Thanks.
Edit: Although both the command "nslookup google.com" and the command "cat /etc/resolv.conf" still return 127.0.1.1.
Last edited by grumpyskeptic; 01-29-2017 at 08:11 AM.
I would be happy to have my privacy details split between the ISP and the DNS, because while they would both be easily available to governments, a hacker would have to hack not just one but two separate organisations and in addition would also have to collate the millions or billions of records together.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.