1,760
edits
Changes
→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"
<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