Network manager wasn't applying the DNS servers that I entered using "Edit Connections" -> "Wired Connection 1" -> IPv4 Settings -> Switch to "Automatic (DHCP) addresses only -> entered in DNS servers
dig @10.1.0.16 internal.address
works just fine, gives me what's expected.
editing resolv.conf doesn't seem to do the trick, and just gets overwritten anyways.
nmcli
shows that the correct DNS servers are being used
systemd-resolve --status
shows the DNS servers as expected
again, digging the DNS servers works great.
I've tried switching to dnsmasq as a workaround, which has probably just added to my confusion. I'm not even sure what to provide as far as logs go. What do you guys need to help?
dnsmasq
line in/etc/NetworkManager/NetworkManager.conf
? Just comment it out with a#
in front of it. Secondly, if you want stuff to stay in/etc/resolv.conf
you edit the file/etc/resolvconf/resolv.conf.d/original
then whenresolvconf -u
is ran the lines are added automatically to/etc/resolv.conf
– Terrance Feb 16 '18 at 20:57/etc/resolvconf/resolv.conf.d/original
points to../run/systemd/resolve/stub-resolv.conf
which doesn't exist – Daniel Agans Feb 16 '18 at 21:28stub-resolve.conf
then restartednetwork-manager
but unfortunately behavior is the same. I can resolve external but not internal resources. – Daniel Agans Feb 16 '18 at 21:37