Is the wrong nameserver set by resolvconf?

Is the wrong nameserver set by resolvconf?

# # See resolved.conf (5) for details [Resolve] #DNS= #FallbackDNS= #Domains= #LLMNR=yes #MulticastDNS=yes #DNSSEC=no #Cache=yes #DNSStubListener=udp When using Ubuntu 17.10 Desktop, you have to edit the one file that says DO NOT EDIT THIS FILE BLAH BLAH BLAH well that’s the ONLY way it works~!

Where is the 127.* address in resolv.conf?

This is what the 127.* address is in your resolv.conf – the IP address of localhost, where dnsmasq has bound to. Network Manager, when configured with the DNS servers, will tell dnsmasq what DNS servers to relay requests to.

When to disable Dnsmasq in resolv.conf?

You should get dnsmasq name as a process listening on port 53, so every thing is fine and you are using correct DNS name serves, 127.0.0.1 is just a layer between you and the servers you set. If you want to actually see “8.8.8.8” in /etc/resolv.conf then you should disable “dnsmasq”.

Why is systemd-resolved not working in resolv.conf?

Your /etc/resolv.conf is not the problem. systemd-resolved just defaults to unconfigured, so it fails all lookups. Feel free to rant about Unconfigured vs A Reasonable Default.

Why does network manager keep adding DNS servers?

I do not want network manager to add DNS servers received from DHCP to my /etc/resolv.conf. When configuring from GUI/Connections/IPV4 and choose the method Automatic (address only) it still adds DNS servers received via DHCP.

Is there a bad symlink for resolv.conf?

On my system I found a bad symlink: /etc/resolv.conf was a symlink which points to /run/systemd/resolve/stub-resolv.conf As a result, the local network’s DNS lookup was often missing. So, instead I changed /etc/reolv.conf to point to /run/systemd/resolve/resolv.conf

How to add a DNS server via resolv.conf?

1 Add temporary DNS. Edit /etc/resolv.conf. nameserver 1.1.1.1 nameserver 1.0.0.1 2 Install or update resolvconf. sudo apt-get install -y resolvconf 3 Add your nameserver into /etc/resolvconf/resolv.conf.d/tail nameserver 1.1.1.1 nameserver 1.0.0.1 4 Reboot your machine: reboot

How to manually add nameservers to systemd-resolved?

Manually add nameservers to systemd-resolved . (editing per Olorin’s comment below to add mkdir, correct path /etc not /lib, in order to survive system updates) Then… systemd-resolved is smart, but, unconfigured as it is, by package maintainers, it just LOOKS stupid because package maintainers do not believe in A Reasonable Default.

How can I add more IPv4 addresses to resolv?

If you are using NetworkManager then you should instead statically add nameserver addresses via network indicator: Edit Connections… | Edit… | IPv4 Settings | Additional DNS servers. If you really want to add more entries to /etc/resolv.conf, create a /etc/resolvconf/resolv.conf.d/tail and add them there.