Updating root zone file bind
To follow this tutorial, you should have already bought a domain name.I registered my domain name at Name Cheap because the price is low and they give whois privacy protection free for life. One server is for the master DNS server and the other is for the slave DNS server.Ideally the two servers should be at different physical locations.If one DNS server is offline, the other DNS server can still response to DNS queries for your domain name.recursion no; // enable the query log querylog yes; // disallow zone transfer allow-transfer ; . Each DNS zone has a zone file which contains every DNS record in that zone.The master DNS server holds the master copy of the zone file. For simplicity’s sake, this article assumes that you want to use a single DNS zone to manage all DNS records for your domain name.BIND can act as an authoritative DNS server for a zone and a DNS resolver at the same time.
It provides authoritative answers to DNS resolvers (like 220.127.116.11 or 18.104.22.168), which query DNS records on behalf of end users on PC, smartphone or tablet.
In a previous article, I explained the steps of setting up a local DNS resolver on Ubuntu 18.04/16.04.
This tutorial will show you how to set up BIND9 on Ubuntu 18.04/16.04 as an authoritative-only DNS server with recursion disabled.
Normally you use hostnames in the NS record like The above information will be sent to a registry operator who runs TLD DNS servers via the Extensible Provisioning Protocol (EPP), so that TLD DNS servers know the hostnames and IP addresses of the authoritative DNS servers for your domain name.
After the NS record and glue record have been propagated to the Internet, you DNS servers would be responding to DNS queries for your domain name. I hope this tutorial helped you set up authoritative DNS server on Ubuntu 18.04 and Ubuntu 16.04 with BIND9.