where are internet settings in Linux Mint XFCE
Hello there! Can anyone please explain where I can find internet and network settings in Linux Mint XFCE (or Cinnamon)
In Windows, I was used to seeing settings for Internet and Network in just "settings" or "control panel" I just want to change the DNS; plus I just want to know how to bring up those settings Hopefully there is a way to do it in ... sorry... GUI...? Cheers! |
Linux is not Windows. ;)
If you search on the web for how to change the DNS settings for Linux Mint, you will find many ways of doing this. The following works for me: Open the terminal and run the following command (entering your password when requested): Code:
gksudo xed /etc/resolvconf/resolv.conf.d/head Code:
nameserver 208.67.222.222 Close the file, saving when requested. Run the following command to make the change stick: Code:
sudo resolvconf -u |
Thanks, hydrurga!
I actually just realized that, because I already had DNS server settings set-up in the modem (I also use openDNS!), it is what is doing the DNS thing; so I might leave it...(hope its OK). But is there an app someone knows about that displays those settings in GUI? Or a commnad that displays them in terminal? |
Quote:
To determine which DNS server is in effective use, try either of the following on the command line: Code:
dig bbc.co.uk In both cases, the Server/SERVER tag on the output should show you the effective DNS server (and thus show if your modem is working correctly in that regard). This doesn't work for certain local cacheing cases, but it should work in most cases. Let us know how it goes. |
thanks hydrurga!
here is the output: ; <<>> DiG 9.10.3-P4-Ubuntu <<>> bbc.co.uk ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46941 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;bbc.co.uk. IN A ;; ANSWER SECTION: bbc.co.uk. 208 IN A 151.101.64.81 bbc.co.uk. 208 IN A 151.101.128.81 bbc.co.uk. 208 IN A 151.101.192.81 bbc.co.uk. 208 IN A 151.101.0.81 ;; Query time: 8 msec ;; SERVER: 127.0.1.1#53(127.0.1.1) ;; WHEN: Fri Feb 02 01:47:38 AEDT 2018 ;; MSG SIZE rcvd: 102 So it is showing 127.0.1.1 - what's that? I know my DNS is working - because it tells me so in the OpenDNS website... I actually fo8und this also in Network Settings - DNS tab |
Quote:
|
Aha. Perhaps someone more knowledgeable than I am can answer that, but it looks as if that is saying that it is using the router (127.0.1.1; local DNS cache server) as the DNS server (which of course is using OpenDNS in turn if you've set that).
More info: https://www.debian.org/doc/manuals/d...ame_resolution https://www.reddit.com/r/linux4noobs...1_what_is_the/ As long as you know that your router is effectively set to use the OpenDNS servers, you don't need to worry about it. |
Mint automatically installs dnsmasq and configures it as a local DNS cache. This is why you see
SERVER: 127.0.1.1#53(127.0.1.1) Basically the purpose of a DNS is to resolve a URL i.e bbc.co.uk to an IP address. The DNS cache attempts to speed up the process by handling the name resolution of recently visited addresses before the request is sent out to the internet. |
Quote:
So, if I set up specific DNS addresses in resolv.conf, am I effectively cutting that local DNS cache out of the equation by making direct external DNS calls each time? My resolv.conf: Code:
nameserver 208.67.222.222 |
Yes, Look at your output for running consecutive dig bbc.co.uk commands. The query time for using a local cache should be in the order of 8 msec versus ~40 msec without.
|
Quote:
So, I decided to add 127.0.1.1 before my external nameservers in resolv.conf to see if I could search the local cache first. This degrades the time to 44-50ms. Any idea why this may be? |
By the way, byebyemrgates, I hope that you don't mind me taking the thread slightly off at a tangent!
I hope that this related discussion may be of interest to you and others who read the thread too. It's certainly interesting to me. |
I don't know. I have not played with caching much but there are several settings that configure dns cache with NetworkManage and dhclient.
|
Quote:
Whatever the situation, I'm envious of the OP's 8ms response time. :) |
Thanks everyone, don't mind you all "hijacking" the thread - good education for me
|
All times are GMT -5. The time now is 03:40 AM. |