How to stop BIND9 from being an authoritative DNS server for a host?
Hello! Until recently I've been using BIND9 on my on-premises server (Ubuntu 16.04 w/LAMP). But then I decided to move one of my site to remote 3rd party hosting. Obviously, I changed the DNS servers on site's registrar's website and the site works fine. The problem is that on my LOCAL machine (where BIND9 is), it still points me to my local installation of that host.
Also, since you're running Ubuntu Xenial (v16) best also to remove systemd-resolved.
https://www.experts-exchange.com/questions/29162917/Huge-DNS-queries-from-openshift.html provides details about replacing systemd-resolved with dnsmasq.
To remove bind...
Open in new window
Be careful to use "remove" to keep all your bind config files, or "purge" to destroy your config files.