198k views
4 votes
1. what is the ip address of the dns server that provided the answer to your nslookup command in question 1 above? 2. did the answer to your nslookup command in question 1 above come from an authoritative or non-authoritative server? 3. use the nslookup command to determine the name of the authoritative name server for the iitb.ac.in domain. what is that name? (if there are more than one authoritative servers, what is the name of the first authoritative server returned by nslookup)? if you had to find the ip address of that authoritative name server, how would you do so?

User VJS
by
6.9k points

1 Answer

6 votes

To find the DNS server's IP address that responded to an nslookup for a domain (e.g., "iitb.ac.in"), check the "Server" field in the nslookup output. "Non-authoritative answer" implies a cache or forwarder response, while "Authoritative answer" indicates the domain's DNS server.

How to explain

To determine the authoritative name server for "iitb.ac.in," run nslookup with "type=NS" for the domain: nslookup -type=NS iitb.ac.in. Check the "Nameserver" field in the output for authoritative server(s).

For the server's IP address, use nslookup again by querying its name, like nslookup authoritative_server_name.

The Complete Question

Using the nslookup command, perform a DNS lookup for the domain "iitb.ac.in":

What is the IP address of the DNS server that provided the answer to your nslookup command?

Did the answer come from an authoritative or non-authoritative server?

Determine the name of the authoritative name server for the "iitb.ac.in" domain. What is the name? If multiple authoritative servers exist, provide the name of the first authoritative server returned by nslookup. If you had to find the IP address of that authoritative name server, how would you do so?

User Madebydavid
by
7.2k points