So I see there are lots of issues on this. I've read through all the posts, but cant seem to find a permanent solution on this. I have Ubuntu 17.10 and everytime my computer reboots, I have to reset the dns servers.
The only solution that seems to work for me is to:
- Add google's DNS servers to my /etc/resolv.conf file.
- Verify they are listed in my network manager gui
- Restart network manager. (sudo systemctl restart NetworkManager)
Im not sure why adding the dns servers to resolv.conf works, only to have it overwritten, but I'f I dont. My DNS doesn't work.
I know this is not the proper way, but every other method I've tried seems to fail. The other issue I have is, I have several other computers on the local network (raspberry pi's) I can't ssh into them using their names. I can with their IP address.
Here's my current resolv.conf
# Generated by NetworkManager
nameserver 127.0.1.1
Here's my /etc/hosts
127.0.0.1 localhost
127.0.1.1 Bootes64
192.168.1.101 homeassistant
192.168.1.102 media
192.168.1.103 wdnas
192.168.1.120 security
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Is there a permanent solution to this?
EDIT This has been marked as a duplicate of a similar issue, However That is one of the first questions I ran across with google. NONE of the suggestions there work. and Seeing as the last update was in 2014, I have some serious misgivings that it will work on a 17.10 machine.