[Techtalk] Resolving a doman name

Cynthia Kiser cnk at ugcs.caltech.edu
Wed Jan 19 13:56:57 EST 2005


Quoting Sue Stones <suzo at spin.net.au>:
> How can I determine the machine address of a domain name.  I want to see 
> if a domain name is pointed at the right machine.

nslookup is depricated, but I still find the output more readable than
dig.

lira-21: nslookup www.caltech.edu
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:		131.215.43.167
Address:	131.215.43.167#53

Non-authoritative answer:
Name:	www.caltech.edu
Address: 131.215.220.4



lira-22: dig www.caltech.edu

; <<>> DiG 9.2.2 <<>> www.caltech.edu
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65050
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 2

;; QUESTION SECTION:
;www.caltech.edu.		IN	A

;; ANSWER SECTION:
www.caltech.edu.	43194	IN	A	131.215.220.4

;; AUTHORITY SECTION:
caltech.edu.		43194	IN	NS	tybalt.caltech.edu.
caltech.edu.		43194	IN	NS	mercutio.ni.caltech.edu.
caltech.edu.		43194	IN	NS	nsx.lbl.gov.
caltech.edu.		43194	IN	NS	tepid.ni.caltech.edu.

;; ADDITIONAL SECTION:
nsx.lbl.gov.		6279	IN	A	131.243.64.3
tybalt.caltech.edu.	30140	IN	A	131.215.139.100

;; Query time: 25 msec
;; SERVER: 131.215.43.167#53(131.215.43.167)
;; WHEN: Tue Jan 18 18:55:22 2005
;; MSG SIZE  rcvd: 173



More information about the Techtalk mailing list