A Blog about technology, linux, peer2peer, cool new downloads and software development.

Sunday, February 8, 2009

DNS : dig // nslookup // host

$ host google.co.il
google.co.il has address 72.14.221.104
google.co.il has address 66.249.93.104
google.co.il has address 216.239.59.104
google.co.il mail is handled by 10 smtp3.google.com.
google.co.il mail is handled by 10 smtp4.google.com.
google.co.il mail is handled by 10 smtp1.google.com.
google.co.il mail is handled by 10 smtp2.google.com.


$ nslookup google.co.il
Server: 10.1.1.235
Address: 10.1.1.235#53

Non-authoritative answer:
Name: google.co.il
Address: 72.14.221.104
Name: google.co.il
Address: 66.249.93.104
Name: google.co.il
Address: 216.239.59.104


$ dig google.co.il

; <<>> DiG 9.5.0-P2 <<>> google.co.il
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53300
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.co.il. IN A

;; ANSWER SECTION:
google.co.il. 204 IN A 66.249.93.104
google.co.il. 204 IN A 216.239.59.104
google.co.il. 204 IN A 72.14.221.104

;; Query time: 5 msec
;; SERVER: 10.1.1.235#53(10.1.1.235)
;; WHEN: Sun Feb 8 12:48:41 2009
;; MSG SIZE rcvd: 78

No comments: