On Ubuntu 16.04 and older versions of Ubuntu, there was a file, /etc/resolv.conf, that was used to configure DNS name servers. Although /etc/resolv.conf still exist on Ubuntu 18.04, it is no longer where you configure your DNS name servers.

How to Set DNS Nameservers on Ubuntu 18.04 | Linuxize Aug 21, 2019 Set custom DNS servers on Ubuntu 18.04 or 20.04 - Ricmedia May 22, 2020 How to change DNS settings on your PC running Windows 10 Apr 17, 2020

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.. You can restart the nscd service on Ubuntu 16.04 LTS to flush DNS caches with the following command:

[SOLVED] Changing DNS in Ubuntu 12.10 and 12.04 Mar 28, 2013

Change DNS Ubuntu server - VPN Questions and Answers

In this post we will try to change the IP address of a Ubuntu based Linux system from the command line. Though we will be using Ubuntu 16.04 but the steps should work for any version of Ubuntu. Listing Network Interfaces. We will start by listing all network interfaces for your system. Changing an instance’s DNS servers | OVH Guides This guide explains the procedure to follow in order to change your instance’s DHCP configuration. You can then change your instance’s DNS servers. Requirements. a Public Cloud instance; Instructions For Debian/Ubuntu. Connect to your instance via SSH. To do this, you can refer to our guide on Logging in to a Public Cloud instance. How to Change Hostname on Ubuntu 18.04 | Linuxize Mar 22, 2019