Flush DNS Cache on Ubuntu - Linux Hint
https://linuxhint.com/flush_dns_cache_ubuntuFlushing 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:
How to configure Ubuntu DNS Server
linuxhint.com › configure-dns-server-ubuntuHow we can do the DNS server configuration in the Ubuntu. We will discuss the method to configure the DNS server by opening a terminal and running a few commands: DNS Server Configuration through the Ubuntu terminal. We can also configure the DNS through the terminal. For this purpose, first open the terminal by pressing CTRL + ALT + T. Before the installation process we will update our repository: $