Changes

Jump to: navigation, search

OPS535-L2

73 bytes added, 03:03, 19 September 2016
Test the correctness of your DNS server's responses
* use the "ss" command or the netstat command - what information should you look for?
== Test the correctness of your DNS server's responses ==
* Create the directory "/root/lab2" for storing lab2 files.* <font color='blue'><b>use the nslookup DNS client command line utility to query your DNS server for SOA, NS, A, and PTR resource records.</b></font> Capture the DNS query commands and their corresponding outputs to a file named "/root/lab2/[student-id]-lab2-test-output.txt"
For example, if an authoritative DNS server with IP address 192.168.99,53 has the cp.net zone file:
<pre>
Address: 192.168.99.25
</pre>
 
== Capture and study the DNS query traffic ==
* Run the appropriate "tcpdump" command on your DNS server to capture all DNS query and response packets to a file and name the tcpdump capture file as [student-id]-lab2-dns-packet. While tcpdump is running on your DNS server, repeat all the DNS queries (SOA, NS, A, PTR) on your host. If you have firewall (iptables or firewalld) running on your DNS server, make sure that the port for DNS are opened on the firewall.
1,760
edits

Navigation menu