It worked like a charm and just added the line ‘domain morraye.local’ to the file, without erasing my dns settings. This was tested on Ubuntu 9.04 and Ubuntu 9.10. You might also want to play with these settings in your resolv.conf file

How to change DNS ip address in RHEL - nixCraft Jan 03, 2019 How to Change Xfinity Router DNS Settings? - Internet Jul 19, 2020 update-systemd-resolved failing to update DNS settings in

How to Change DNS Settings on Your OS or Router

The example below shows how to enter two DNS servers to /etc/resolv.conf, which should be changed to servers appropriate for your network. A more lengthy description of the proper persistent way to do DNS client configuration is in a following section. nameserver nameserver

Flushing DNS Cache on Ubuntu 16.04: On Ubuntu 16.04 LTS, DNS cache is not enabled by default. But some applications like bind, dnsmasq, nscd etc. may cache it.. If you’re using nscd for caching DNS queries, then you can flush the DNS cache by simply restarting the nscd service.

Jun 28, 2019 · Many Linux users these days use a dns cache and so the dns server in resolve.conf is a loopback address to the dns cache on your own PC/Linux. systemd’s resolved is also often used but this updates resolve.conf for informational reference. Add name servers to the configuration file. On most Linux operating systems, the DNS servers that the system uses for name resolution are defined in the /etc/resolv.conf file. That file should contain at least one nameserver line. Each nameserver line defines a DNS server. Some Debian Linux like Ubuntu still uses systemd-resolve. This resolve is already built into the system in Ubuntu and it is being used for a lot of things by the operating system automatically without the user’s knowledge. Its already installed and set up in Ubuntu, the user just has to enter the command to flush the DNS and it will get done. Mar 13, 2020 · Bonus: Change DNS Settings in Ubuntu We’ve been talking about flushing the DNS cache in Ubuntu, however, there may be cases where you just want to make a change to the DNS settings in Ubuntu. If you want to change the DNS settings in Ubuntu, you can do that using the GUI, or via the Terminal. Change DNS Settings using the GUI