Changes

Jump to: navigation, search

SRA840 Lab4

670 bytes added, 21:11, 21 February 2009
no edit summary
Q: What is the purpose of the "host" command ? Give an example of its use.
A: Host is a simple tool to perform DNS lookups.e.g.
[root@localhost ~]# host -v ns.lux.on.ca 192.168.2.16
Trying "ns.lux.on.ca"
lux.on.ca. 10800 IN SOA ns.lux.on.ca. root.ns.lux.on.ca. 0 86400 3600 604800 10800
Received 71 bytes from 192.168.2.16#53 in 17 ms
 
Q: What is the purpose of the "nslookup" command ? Give an example of its use.
 
A: "nslookup" is a program to query Internet Domain Name servers.
e.g.
[root@localhost ~]# nslookup
> server 192.168.2.16
Default server: 192.168.2.16
Address: 192.168.2.16#53
> set debug
> ns.lux.on.ca
Server: 192.168.2.16
Address: 192.168.2.16#53
------------
QUESTIONS:
ns.lux.on.ca, type = A, class = IN
ANSWERS:
-> ns.lux.on.ca
internet address = 142.204.141.75
AUTHORITY RECORDS:
-> lux.on.ca
nameserver = ns.lux.on.ca.lux.on.ca.
ADDITIONAL RECORDS:
------------
Name: ns.lux.on.ca
Address: 142.204.141.75
>
1
edit

Navigation menu