How to Configure Bind as an Authoritative-only DNS Server on Ubuntu


It is helpful for you to familiarize yourself first with the different types of DNS servers before deciding on which DNS configuration to adopt.


Types of DNS Servers

It is possible to utilize the DNS servers provided by your Internet Service Providers (ISPs) for your website and internet browsing. However, if you can make efforts to configure your own DNS servers, there are some benefits to derive from doing so. Here, you will learn how to configure Bind9 DNS server, an open source software, as an Authoritative-only DNS server.

You will need, at least, two servers: One for the “Master” Server, and the other for the “Slave” Server. As explained above, most zone files originate from the Master Server and are transferred to the Slave Server.


Server DNS FQDN IP Address

Master name server ns1.example.com. 13.0.2.4

Slave name server ns2.example.com. 13.0.2.5

Web server www.example.com. 13.0.2.6


The Main Procedures for Configuring Bind as an Authoritative-only DNS Server on Ubuntu

Both the Master and Slave DNS Servers will be configured so that they can perform effectively.

(1) For Master DNS Server

  • First, make sure that the hostname on the Name Servers is properly set or configured on both the Master and Slaver Servers
  • Install Bind on both Master and Slave Servers—the Bind software already exists within the Ubuntu’s repositories, and what should be done is to just update the local setting
  • To fully configure the Master Server, the following processes must be carefully carried: The configuration of the Options File; configuring the Local File; in case your ISP does not have Reverse Zones, you can configure that, too; setting up the Forward Zone File; finally, testing the files and restarting the service

(2) For Slave DNS Server

Setting up the Slave DNS Server will be easier than configuring the Master DNS Server.

  • First, configure the Options File
  • Configure the Local Configuration File
  • The Forward Zone is also configured so that the Files that could be transferred from the Master DNS Servers are properly configured. This makes it easy or efficient for specified files to be transferred to the Slave DNS Server
  • Make sure you test the files and restart the service

Delegating Authority to your Name Servers

The configuration of your Authority-only name servers would have been completed after successfully carrying out the two configurations described above. However, you must delegate the authority for your domain to the name servers. To do this, you would need to sign in into the control panel of the company that sold the domain to you. Your registry will not automatically delegate the authority to the NS records; so, you will need to create a glue record. A glue record is an “A” record that specifies the IP addresses for the name servers after it has successfully specified the name servers that it is delegating authority to.

All you need to do is to just list the name servers that will manage the authority of the domain. However, if the name servers are located within the domain itself, you will need to create an “A” record for the name servers in the parent zones. You must make sure that the delegation is properly aligned, or else the DNS resolvers will become stuck in the loop, having failed to locate the IP addresses of the domain name servers.



[]
{"name":"WhoDat1 - DNS Propagation Tool","ads":{"one":"","two":"","three":"","four":"","five":"","six":""},"socials":[],"colors":{"primary":"#0155b5","secondary":"#2fc10a","tertiary":"#d2ab3e"},"global":{"css":" body,a,p,h1,h2,h3,h4,h5,h6{\n margin: 0 auto;\n }\n.mobile{\n\tdisplay:none;\n}\n.desktop{\ndisplay:flex;\n}\n .container{\n width: 1170px;\n }\n\n .titles{\n margin: 0 20px;\n }\n .titles #basic-addon2 {\n font-size: 18px;\n z-index: 10;\n}\n.titles .form-control{\nheight:auto;\n}\n.titles .btn_style, .btn_style_blue {\n color:#fff;\n font-size: 14px;\n font-weight: 600!important;\n background: linear-gradient(95.64deg,#1c3d9f 0%,#3096cb 100.33%);\n border-radius: 5px;\n border: none;\n outline: none;\n padding: 10px 23px;\n display: inline-flex;\n align-items: center;\n transition: all .3s ease-in-out;\n}\n.titles .btn_style, .btn_style_blue:hover{\n color: #fff;\n}\n.titles .input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n margin: 30px 0;\n}\n.titles .input_style, .textarea_style, .input_style:focus, .textarea_style:focus {\n background-color: #efefef!important;\n color: var(--clr-black)!important;\n font-size: 18px;\n font-weight: 600!important;\n padding: 18px 15px;\n border-radius: 8px;\n box-shadow: inset 1px 1px 6px rgba(0,0,0,.161)!important;\n outline: none;\n border: none;\n}\n .titles .button{\n text-align: center;\n }\n .titles .button a{\n border: none;\n background: #D0E7FF;\n color: #007AFF;\n border-radius: 20px;\n padding: 10px 40px;\n margin: 20px 7px 0;\n font-weight: 600;\n font-size: 14px;\n text-decoration: none;\n }\n .title{\n margin: 0 20px;\n }\n .title p{\n font-size: 14px;\n color: #666666;\n }\n .title .boxis{\n margin-top: 100px;\n }\n .title .box{\n display: flex;\n }\n.title .box a{\ntext-decoration:none;\ncolor:#000;\n}\n .title .box .d-flex img{\n width: 25%;\n background: rgb(201, 255, 201);\n padding: 5px;\n border-radius: 5px;\n border: 2px solid rgb(178, 211, 178);\n }\n .title .box .d-flex h5{\n margin: 0 15px;\n font-size: 16px;\n font-weight: 700;\n }\n .title .box p{\n margin: 10px 0 0 0;\n font-size: 12px;\n }\n .title .box1{\n margin: 10px;\n padding: 20px;\n width: 266PX;\n height: 115PX;\n }\n .title .box1 .d-flex{\n align-items: center;\n }\n .footerdiv p{\ntext-align:center;\nmargin-top:-150px;\n}\n @media(max-width:768px){\n.mobile{\n\t\tdisplay:block;\n\t}\n\t.desktop{\n\t\tdisplay:none;\n\t}\n .container{\n max-width: 100%;\npadding:0px;\n }\n.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {\n width: 100%;\n padding-right: 0!important;\n padding-left: 0!important;\n margin-right: auto;\n margin-left: auto;\n}\n .titles{\n margin: 0;\n }\n .titles ul{\n padding: 0;\n }\n ::placeholder{\n color: #fff;\n opacity: 1;\n }\n .titles .button a{\n padding: 10px 22px;\n }\n .title {\n margin: 0;\n }\n .title .boxis {\n margin-top: 20px;\n}\n .title .box{\n display: block;\n }\n .title .box1{\n margin: 15px 0;\n width: 100%;\nheight:auto;\n }\n.title .box .d-flex h5{\nfont-size:15px;\n}\n }","js":"","header":"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no\">\n<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n<link rel=\"canonical\" href=\"https:\/\/whodat1.com\" \/>\n<meta name=\"keywords\" content=\"DNS, WHOIS, Propagation, server, global, lookup, mx, checker\" \/>\n<meta name=\"description\" content=\"Check DNS Propagation worldwide. DNS Checker provides name server propagation check instantly. Changed nameservers so do a DNS lookup and check if DNS and nameservers have propagated.\" \/>\n<meta property=\"og:title\" content=\"WhoDat1 - DNS Propagation Tool\" \/>\n<meta property=\"og:description\" content=\"Check DNS Propagation worldwide. DNS Checker provides name server propagation check instantly. Recently changed DNS info, do a lookup and check if DNS and nameservers have propagated.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/whodat1.com\" \/>\n<meta property=\"og:image\" content=\"https:\/\/whodat1.com\/images\/logo.png\" \/>\n<meta property=\"og:site_name\" content=\"WhoDat1\" \/>\n<meta property='og:type' content='website' \/>","footer":"<!-- ws.metratics.com -->\n<script>\n var _paq = window._paq = window._paq || [];\n \/* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" *\/\n _paq.push(['trackPageView']);\n _paq.push(['enableLinkTracking']);\n (function() {\n var u=\"\/\/ws.metratics.com\/\";\n _paq.push(['setTrackerUrl', u+'matomo.php']);\n _paq.push(['setSiteId', '11']);\n var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];\n g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);\n })();\n<\/script>\n<!-- End Metratics Code -->\n\n<!-- Google tag (gtag.js) -->\n<script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-8R7G86WB8F\"><\/script>\n<script>\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', 'G-8R7G86WB8F');\n<\/script>\n<div class=\"footerdiv\"><p>Copyright 2023 - WhoDat1.com<\/p><\/div>\n"},"cookie":{"enable":true,"text":"<p>By using this website you agree to our <a href=\"#\" target=\"_blank\">Cookie Policy<\/a><\/p>"},"font_family":"Poppins","text":{"above_map":"<h5>DNS Propagation Map by WhoDat1.com<\/h5><p><br><\/p><p>Have you recently made changes in your DNS records, switched web host, or started a new website? WhoDat1.com offers free DNS propagation check service to check Domain Name System records against a selected list of DNS servers in multiple regions worldwide. DNS propagation inquiries are important so that visitors are able to find web services, mail services, and more. The <span style=\"color: rgb(230, 0, 0);\">RED X<\/span> means the query has NOT been resolved, the <span style=\"color: rgb(0, 138, 0);\">GREEN Check Mark<\/span> the query has been resolved.<\/p>","below_map":"<p><span style=\"color: rgb(55, 65, 81);\">Our free online DNS Propagation Checker tool allows you to verify DNS propagation worldwide. Easily check DNS data for any hostname or domain from DNS servers across the globe.<\/span><\/p><p><span style=\"color: rgb(55, 65, 81);\">Our DNS Propagation Checker tool simplifies global DNS checks by offering a comprehensive list of over 100 global DNS servers. You can customize the DNS server for certain tools and perform DNS checks using different servers.<\/span><\/p><p><span style=\"color: rgb(55, 65, 81);\">To enhance understanding, our tool collects, parses, and displays DNS propagation results on a map. A green tick indicates that the requested DNS record is available on the DNS server, while a cross indicates its unavailability. The green tick also signifies that the DNS record matches the expected value set by the user, whereas a cross indicates a mismatch. To view individual DNS record propagation lookup on global DNS servers, simply select each DNS record.<\/span><\/p><p><br><\/p><h5><span style=\"color: rgb(55, 65, 81);\">\ufeffThe most common DNS record types include:<\/span><\/h5><ul><li>A record: Contains the IPv4 address information of the hostname.<\/li><li>AAAA record: Contains the IPv6 address information of the hostname.<\/li><li>CNAME record: Also known as an alias record, it redirects the sub-domain to its domain, such as redirecting <a href=\"https:\/\/www.whodat1.com\/\" target=\"_blank\" style=\"color: blue;\"><u>https:\/\/www.whodat1.com<\/u><\/a> to whodat1.com.<\/li><li>MX record: Provides information on where the domain's email should be routed and the priority of mail servers.<\/li><li>NS record: Offers information about the authoritative nameservers of a domain.<\/li><li>TXT record: Commonly used for other DNS record configurations like SPF, DKIM, or DMARC records.<\/li><\/ul><p><br><\/p><h5><span style=\"color: rgb(55, 65, 81);\">What is DNS propagation? <\/span><\/h5><p><span style=\"color: rgb(55, 65, 81);\">DNS propagation refers to the time it takes for DNS changes to propagate across the internet globally. This process can take up to 48 hours to complete worldwide. Use our <\/span><a href=\"https:\/\/whodat1.com\/\" target=\"_blank\" style=\"color: rgb(55, 65, 81);\">DNS Propagation Checker<\/a><span style=\"color: rgb(55, 65, 81);\"> to monitor and track the progress of your DNS changes.<\/span><\/p><p><br><\/p><h5><br><\/h5><p><br><\/p>","footer":"<p class=\"ql-align-center\"><br><\/p>"},"find_btn":{"text":"Find","color":"#F3DF00","text_color":"#000000"},"whois_btn":{"text":"Lookup","color":"#5CC9FF","text_color":"#000000"},"default_dns":"A","enable_logs":true,"show_dark_mode":true,"enable_ad_block_detector":false,"ad_block_detector_filename":"ads-frontend.min.js","map_fail_reloader":false,"timeout":5}

Copyright 2023 - WhoDat1.com