When restarting Ubuntu the static DNS configuration in /etc/resolv.confdisappears.
See this article
When restarting Ubuntu the static DNS configuration in /etc/resolv.confdisappears.
See this article
You don't manually edit /etc/resolv.conf.
What you do is go to the network icon in the top panel and select Edit Connections..., open the profile for your connection, and go to the IPv4 Settings tab and set it as follows: