BIND DNS Server on a Local Network:  Part 5

Installing and Configuring BIND

posted: 2020-07-17 | updated: 2020-10-26

page 1 of 6

Model sailing ship seen through wood-framed window

By this point you should be able to request and display the test websites set up in Part 3 using name-based virtual hosts—domain names, such as cache.cow, which exist only on the local network. DNS duties were handled temporarily by adding hosts file entries to each non-mobile device. Mobile devices were tested by displaying an index page, using the development server’s IP address,, instead of a virtual host, see Part 3: Create test websites.

A bit about the BIND setup

  • The BIND DNS server will be configured as an authoritative name server.
  • BIND will respond only to queries for locally hosted domain names from devices on the local network. Since this configuration doesn’t cache anything, you can still make use of Window’s DNS resolver cache, though you will want to disable the DNS client while configuring and testing BIND, and working on development websites. Part 3, Disable the DNS cache resolver on the development server
  • Only one DNS server is used in this example, however in the wild and oft cruel lands beyond your local network, two or more DNS servers are used to provide redundancy.
  • Nothing changes for Internet queries which are still handled by your ISP’s DNS Server or other name server of your choice.
  • BIND configuration and zone files are provided for your convenience.
  • This configuration does not allow use of the nsupdate tool, Bv9ARM.pdf, p. 285, which is used to submit Dynamic DNS Update requests. Instead, zone records will be edited manually.

Steps to be completed in Part 5:

  1. Remove hosts file entries for test websites
  2. Change the development server’s preferred DNS server IP to localhost
  3. Change the router’s primary DNS server IP to the development server’s static IP
  4. Install BIND
  5. Add bin folder to the Path System Variable
  6. Create a key file for the rndc tool
  7. Create and check named.conf, BIND’s main configuration file
  8. Create and check zone files
  9. Create shortcuts for starting and stopping BIND’s named service
  10. Starting BIND for the first time
  11. Test local websites
  12. When BIND won’t start
  13. Troubleshooting BIND

page 1 of 6


⛵ top ⛵

No comments yet…

Expound upon: BIND DNS Server on a Local Network:  Part 5

Your email address will not be published. Required fields are marked *