Changes

Jump to: navigation, search

OPS535-lab-dynamicdns

82 bytes added, 00:20, 17 February 2021
Exploration Questions
==Purpose==
In this lab, you are going to build a primary name server for your assigned DNS domain using the BIND package on your VM1. A primary name server does not depend upon having access to other name servers in order to function.
Once you have your primary name server runningfor your forward and reverse zones, use you will use command line DNS client tool(s) to test the correctness of the query responses from your Primary DNS server.
Then you will configure both zones to support dynamic updates. Dynamic DNS accepts updates from the command line utility “nsupdate”. This lab does not configure the DNS server to use secure channel for the updates.
* Each A record (address record) should contain the FQDN (or host name) of each VM and its corresponding IP address.
* Each PTR record should contain the FQDN and the corresponding IP address in reverse dotted-decimal notation format (e.g. use 53.99.168.192.in-addr.arpa. for IP address 192.168.99.53)
* The file for your forward zone should be my-zone.txt, and the file for the reverse zoneshould zone should be rev-zone.txt.
* Make sure you configure the following major options:
**listen-on: port 53 and all network interface
• Ensure you service is running, will continue to run past boot, and is accessible by the other machines in your network.</li>
<li>Modify your other lab VMs so that they use your VM1 as their primary the first DNS serverto contact, and your host as a secondary serverthe second (in case your VM1 fails).</li>
<li>Run the appropriate "tcpdump" command on your DNS server to capture all DNS query and response packets to a file and name the tcpdump packet file as named '''dns-packet'''in the /root directory. While tcpdump is running on your DNS server, repeat '''all''' the DNS queries (SOA, NS, A, PTR) on your host.
*Read the tcpdump file with the "-r" flag to verify that the targeted packets were captured to the file. It should contain queries and answers for each of the records in your domain.
</li>
# What are the steps using nsupdate to delete the “PTR” record created in question 6?
# What are the steps using nsupdate to delete the “CNAME” record created in question 7?
# What would happen if you try to delete a non-existence resource record (PTR, A, CNAME, MX, etc) from a dynamic DNS zone using nsupdate?13. # What would happen if you ry try to add a duplicate resource record to a dynamic zone using nsupdate?
1,760
edits

Navigation menu