Marc G. Fournier wrote:
> - --On Tuesday, November 06, 2007 21:33:08 +0100 Magnus Hagander
> <magnus@hagander.net> wrote:
>
> > dig -x 200.46.204.187
> >
> > returns
> > 187.204.46.200.in-addr.arpa. 18000 IN PTR maia-2.hub.org.
> >
> > Similar for -1.
>
> Right, and?
It's an A RR for maia.hub.org.
$ dig maia.hub.org
; <<>> DiG 9.4.1-P1 <<>> maia.hub.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53021
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 3, ADDITIONAL: 3
;; QUESTION SECTION:
;maia.hub.org. IN A
;; ANSWER SECTION:
maia.hub.org. 86400 IN A 200.46.204.182
maia.hub.org. 86400 IN A 200.46.204.183
maia.hub.org. 86400 IN A 200.46.204.184
maia.hub.org. 86400 IN A 200.46.204.187
maia.hub.org. 86400 IN A 200.46.204.191
These numbers all resolve back to a different name:
$ for i in 182 183 184 187 191; do dig +short -x 200.46.204.$i; done
maia-5.hub.org.
maia-4.hub.org.
maia-3.hub.org.
maia-2.hub.org.
maia-1.hub.org.
The names resolve OK to the numbers:
$ for i in 182 183 184 187 191; do dig +short -x 200.46.204.$i; done |
xargs -n 1 dig +short
200.46.204.182
;; Warning: ID mismatch: expected ID 15438, got 50558
200.46.204.183
200.46.204.184
200.46.204.187
200.46.204.191
--
Alvaro Herrera http://www.PlanetPostgreSQL.org/
"Las cosas son buenas o malas segun las hace nuestra opinión" (Lisias)