Changes

Jump to: navigation, search

OPS535-L2

252 bytes added, 03:16, 19 September 2016
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 * Review the output of each DNS query result and compare it with the expected value as derived from the corresponding DNS resource record in the zone file. If there is any mismatch, employ your troubleshooting skill to fix it. As an example, if an authoritative DNS server with IP address 192.168.99,53 has the cp.net zone file:
<pre>
$TTL 300
rns IN A 192.168.99.253
</pre>
* To The query for the SOA record using the nslookup command "nslookup -query=SOA cp.net 192.168.99.53" will should yield the following result:
<pre>
[root@pri named]# nslookup -query=SOA cp.net 192.168.99.53
</pre>
* To The query for the NS record using the nslookup command "nslookup -query=NS cp.net 192.168.99.53" will should yield the following result:
<pre>
[root@pri named]# nslookup -query=NS cp.net 192.168.99.53
</pre>
* To The query for the A record for mail.cp.net using the nslookup command "nslookup -query=A mail.cp.net. 192.168.99.53" will should yeild the following result:
<pre>
[root@pri named]# nslookup -query=A mail.cp.net 192.168.99.53
1,760
edits

Navigation menu