13,420
edits
Changes
no edit summary
You need to understand all the options in this file except the localhost zone, so that in the future (for example in a practical test) you can quickly set up a DNS server for a new zone. So look up in [http://www.zytrax.com/books/dns/ch7/statements.html the reference] these things and write down what they do:
* '''directory'''* '''allow-query'''* '''forwarders'''* '''type'''* '''file'''
=== Zone file ===
Again, here's the [http://www.zytrax.com/books/dns/ch8/ reference documentation] for records in this file. Specifically pay attention to:
* '''A ''' records* '''NS ''' records* '''SOA ''' records
Now that your DNS server (bind, a.k.a. named) is configured:
# Start it with the '''systemctl ''' command.# Check that it's running using:#* The the '''ps ax ''' command (perhaps combined with '''grep''')#* A , and separately, the '''systemctl ''' command#* The system log file (if necessary), or check the '''/var/log/messages''' file for troubleshooting purposes.# Once you're sure are certain that the service starts had started and runs without errors - , then set it to '''start automatically ''' when this virtual machine boots.
== Firewall rules update ==