I have an issue with the DNS on the wired network connection even when I have everything in auto, the DNS behaves as if it was manually set. I have deleted the network connection, and in the new one the problem persists. I have booted from a usb using the same OS and it works as expected, so it's not hardware nor the router. The DNS is set to 192.168.1.158, 8.8.8.8, 8.8.4.4
Kernel: 4.4.0-128-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Network: Card: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
driver: atl1c v: 1.0.1.1-NAPI port: d000 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
Im not sure from your post what your problem actually is. Could you be a bit more specific?
Are you trying to manually use different DNS servers than what your ISP has? If thats the case, Set them in Network Manager. What desktop are you using? Bit more info would be helpful and then I can help you.
When you are having this issue, Issue the following command to show your DNS settings. Copy the output to your next post :
cat /etc/resolv.conf
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710 - List your hardware Profile: inxi -Fxpmrz MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
Hi, the issue is that I do not want that DNS set, I want the ones provided by the router. I only get those when booting from the USB, I have deleted the network profile several times.
cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search local
When you connect to the router please post the output of the following commands:
cat /etc/resolv.conf
ifconfig
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710 - List your hardware Profile: inxi -Fxpmrz MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
Evoka wrote: ⤴Thu Jun 14, 2018 10:29 pmI have an issue with the DNS on the wired network connection even when I have everything in auto, the DNS behaves as if it was manually set. I have deleted the network connection, and in the new one the problem persists.
Deleted them ... where?
/etc/resolv.conf says "DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN"
I was doing the opposite - trying to set them manually and getting the automatic stuff, so...
(I think that starts automatically for normal installs...it's the Wifi/Ethernet icon in your task bar).
nm-applet (=wifi icon) -> rt-click -> edit connections -> (pick connection) -> Edit -> IpV4 settings (tab):
"Method = Automatic (DHCP)" for NO MANUAL settings - you can enter them and they just go away.
"Method = Automatic (DHCP) addresses only." will use the DNS values entered, and they end up in /etc/resolv.conf
Please edit your original post title to include [SOLVED] if/when it is solved! Your data and OS are backed up....right?
It appears you are not getting your DNS info from the router. Some routers if you have issues getting an I.P address then your network card will default to a private address one. To see which is the case can you connect to the internet and then in a term window run a ping test:
ping 8.8.8.8
If you get replies then your problem is only related to DNS settings and might actually be an issue with the router. You can manually go into network manager (right click panel applet for network and choose edit connections. Edit the IPV4 and see if you can enter your own DNS entries. Use 8.8.8.8 and 1.1.1.1 . If you do not use IPV6 you can go in and disable that.
Lets see if all that works
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710 - List your hardware Profile: inxi -Fxpmrz MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
If the DNS is shown handed out by your router through DHCP, I would think there is no problem.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
It means that those are in use:
192.168.1.158
8.8.8.8
8.8.4.4
You set those in your router?
If yes, then i would think it works as intended.
dhclient will apply the settings provided by your router.
The DNS servers provided are then used by dnsmasq, which acts as a proxy.
That`s why you see 127.0.1.1 in resolv.conf as that is where dnsmasq listens.
You can check that with
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp