John Hardin wrote:
You don't check rDNS using "host", you check it using "dig -x
host.ip.addr.here"
Actually, unless your DNS configuration is doing something bizarre, they
should give back the same basic info - dig is just a lot more verbose:
[kdeu...@turboprop ~]$ host 209.91.179.62
62.179.91.209.in-addr.arpa domain name pointer deepnet.cx.
[kdeu...@turboprop ~]$ dig -x 209.91.179.62
; <<>> DiG 9.2.4 <<>> -x 209.91.179.62
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62009
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION:
;62.179.91.209.in-addr.arpa. IN PTR
;; ANSWER SECTION:
62.179.91.209.in-addr.arpa. 892 IN PTR deepnet.cx.
;; AUTHORITY SECTION:
179.91.209.in-addr.arpa. 890 IN NS ns3.vianet.ca.
179.91.209.in-addr.arpa. 890 IN NS ns4.vianet.ca.
179.91.209.in-addr.arpa. 890 IN NS ns1.vianet.ca.
179.91.209.in-addr.arpa. 890 IN NS ns2.vianet.ca.
;; ADDITIONAL SECTION:
ns1.vianet.ca. 22 IN A 209.91.128.30
ns2.vianet.ca. 22 IN A 204.187.89.10
ns3.vianet.ca. 22 IN A 209.91.174.60
ns4.vianet.ca. 22 IN A 204.187.88.5
;; Query time: 2 msec
;; SERVER: 209.91.179.154#53(209.91.179.154)
;; WHEN: Fri Oct 2 10:33:50 2009
;; MSG SIZE rcvd: 213
[kdeu...@turboprop ~]$ dig -x 209.91.179.62 +short
deepnet.cx.
[kdeu...@turboprop ~]$
(The "AUTHORITY" and "ADDITIONAL" sections may not be returned depending
on your DNS cache; BIND returns the above, DJB's dnscache doesn't
return either.)
-kgd, wearing his "ISP DNS admin" hat