Computer Networks/Nslookup/Type
Nslookup is a command-line tool used to query a Domain Name System (DNS) server to obtain an IP address mapping or other DNS records. These activities will show you how to use the nslookup command to display other record types.
Preparation
editTo prepare for this activity:
- Start your operating system.
- Log in if necessary.
Activity 1 - Display Host Addresses
editTo display host addresses:
- Open a command prompt.
- Type nslookup google.com and press Enter.
- Observe the results. Notice the IP addresses listed for this host name.
Activity 2 - Display Other Record Types
editTo display other record types:
- Type nslookup -type=ns google.com and press Enter.
- Observe the results. Notice the name servers listed for this domain name.
- Type nslookup -type=soa google.com and press Enter.
- Observe the results. Notice the start of authority information listed for this zone.
- Type nslookup -type=mx google.com and press Enter.
- Observe the results. Notice the mail exchangers listed for this domain name.
- Type nslookup -type=txt google.com and press Enter.
- Observe the results. Notice the text records listed for this domain name.
- Close the command prompt to complete this activity.