Wednesday, December 17, 2014

nslookup, host, dig commands

nslookup www.google.com
Server:         10.40.4.247
Address:        10.40.4.247#53

Non-authoritative answer:
Name:   www.google.com
Address: 74.125.236.50
Name:   www.google.com
Address: 74.125.236.52
Name:   www.google.com
Address: 74.125.236.51
Name:   www.google.com
Address: 74.125.236.48
Name:   www.google.com
Address: 74.125.236.49




host www.google.com
www.google.com has address 74.125.236.50
www.google.com has address 74.125.236.49
www.google.com has address 74.125.236.52
www.google.com has address 74.125.236.48
www.google.com has address 74.125.236.51




dig www.google.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34580
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         286     IN      A       74.125.236.49
www.google.com.         286     IN      A       74.125.236.52
www.google.com.         286     IN      A       74.125.236.48
www.google.com.         286     IN      A       74.125.236.51
www.google.com.         286     IN      A       74.125.236.50

;; Query time: 0 msec
;; SERVER: 10.40.4.247#53(10.40.4.247)
;; WHEN: Wed Dec 17 16:04:04 2014
;; MSG SIZE  rcvd: 112

No comments:

Post a Comment