|
|
nslookup — query Internet name servers interactively
Example:
* nslookup quasar.india.hp.com
Name Server: hpmpea2.cup.hp.com
Address: 15.61.192.116
Non-authoritative answer:
Name: quasar.india.hp.com
Address: 15.10.45.114
dig — Domain Information Groper
Example: shell/iX> dig
; <<>> DiG 8.1 <<>>
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra;
;; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 12
;; QUERY SECTION:
;; ., type = NS, class = IN
;; ANSWER SECTION:
. 2d23h2m52s IN NS japan.cns.hp.com.
. 2d23h2m52s IN NS paloalto.cns.hp.com.
. 2d23h2m52s IN NS singapore.cns.hp.com.
. 2d23h2m52s IN NS andover.cns.hp.com.
. 2d23h2m52s IN NS atlanta.cns.hp.com.
. 2d23h2m52s IN NS bbnhs.cns.hp.com.
. 2d23h2m52s IN NS boise.cns.hp.com.
. 2d23h2m52s IN NS brahs.cns.hp.com.
. 2d23h2m52s IN NS colorado.cns.hp.com.
. 2d23h2m52s IN NS corvallis.cns.hp.com.
. 2d23h2m52s IN NS cupertino.cns.hp.com.
. 2d23h2m52s IN NS fortcollins.cns.hp.com.
. 2d23h2m52s IN NS gvahs.cns.hp.com.
;; ADDITIONAL SECTION:
japan.cns.hp.com. 2d23h36s IN A 15.74.137.1
paloalto.cns.hp.com. 2d23h36s IN A 15.1.200.2
singapore.cns.hp.com. 2d23h35s IN A 15.43.40.31
andover.cns.hp.com. 2d23h35s IN A 15.4.152.7
atlanta.cns.hp.com. 2d23h36s IN A 15.24.240.5
bbnhs.cns.hp.com. 2d23h36s IN A 15.195.32.10
boise.cns.hp.com. 2d23h35s IN A 15.10.216.25
brahs.cns.hp.com. 2d23h36s IN A 15.195.104.10
colorado.cns.hp.com. 2d23h36s IN A 15.13.48.11
corvallis.cns.hp.com. 2d23h36s IN A 15.7.240.32
cupertino.cns.hp.com. 2d23h35s IN A 15.36.88.4
fortcollins.cns.hp.com. 2d23h35s IN A 15.6.184.40
;; Total query time: 0 msec
;; FROM: mpeworld to SERVER: default -- 0.0.0.0
;; WHEN: Mon May 18 22:15:45 1998
;; MSG SIZE sent: 17 rcvd: 494
host — look up host names using domain server.
Example:
shell/iX> host quasar.india.hp.com
quasar.india.hp.com has address 15.10.45.114
quasar.india.hp.com mail is handled (pri=90) by hpmdd58.india.hp.com
quasar.india.hp.com mail is handled (pri=100) by palsmtp.hp.com
quasar.india.hp.com mail is handled (pri=150) by atlsmtp.hp.com
quasar.india.hp.com mail is handled (pri=10) by quasar.india.hp.com
quasar.india.hp.com mail is handled (pri=50) by fakir.india.hp.com
Example:
shell/iX> dnsquery quasar.india.hp.com
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45601
;; flags: qr aa rd ra;
;; QUERY: 1, ANSWER: 6, AUTHORITY: 7, ADDITIONAL: 10
;; quasar.india.hp.com, type = ANY, class = IN
quasar.india.hp.com. 1D IN MX 50 fakir.india.hp.com.
quasar.india.hp.com. 1D IN MX 90 hpmdd58.india.hp.com.
quasar.india.hp.com. 1D IN MX 100 palsmtp.hp.com.
quasar.india.hp.com. 1D IN MX 150 atlsmtp.hp.com.
quasar.india.hp.com. 1D IN MX 10 quasar.india.hp.com.
quasar.india.hp.com. 1D IN A 15.10.45.114
india.hp.com. 1D IN NS fakir.india.hp.com.
india.hp.com. 1D IN NS cauvery.india.hp.com.
india.hp.com. 1D IN NS valmki.india.hp.com.
india.hp.com. 1D IN NS hpmdd58.india.hp.com.
india.hp.com. 1D IN NS palrel2.hp.com.
india.hp.com. 1D IN NS atlrel2.hp.com.
fakir.india.hp.com. 1D IN A 15.10.40.3
hpmdd58.india.hp.com. 1D IN A 15.70.168.58
palsmtp.hp.com. 8H IN A 156.153.255.242
palsmtp.hp.com. 8H IN A 156.153.255.226
atlsmtp.hp.com. 8H IN A 156.153.255.210
atlsmtp.hp.com. 8H IN A 156.153.255.202
quasar.india.hp.com. 1D IN A 15.10.45.114
cauvery.india.hp.com. 1D IN A 15.10.40.5
valmiki.india.hp.com. 1D IN A 15.17.112.100
sahana.india.hp.com. 1D IN A 15.10.43.22
 |
NOTE: In order to run the various utilities, you will need
to modify your PATH variable, adding the following two directories:
/BIND/PUB/sbin
/BIND/PUB/bin
|
|