PTR using DIG
bcisco at gmail.com
Thu Mar 31 15:13:00 UTC 2005
Thanks a lot...dig -x 188.8.131.52 works fine for me...Thnak you again...
On Wed, 30 Mar 2005 18:40:38 -0500, Kevin Darcy <kcd at daimlerchrysler.com> wrote:
> BIJU KURIAN wrote:
> >How can i see the PTR record for a host..
> >dig host1.doma.com @ns1.domain.com PTR doesn't show the details..
> >Is there someother ways to see the PTR recoring working fine or not?
> If host1.doma.com owns a PTR record, then dig host1.doma.com will show
> it. But, normally PTR records exist solely for reverse lookups and are
> therefore found under the in-addr.arpa tree; you typically wouldn't see
> one under the .com tree unless it is aliased from somewhere under the
> in-addr.arpa tree.
> You can simulate a reverse lookup in dig by reversing the octets of the
> address, appending ".in-addr.arpa" to the result, and then querying
> whether that name owns any PTR records, e.g. reverse lookup of 184.108.40.206
> -> dig 220.127.116.11.in-addr.arpa ptr. Most versions of dig also have a -x
> option that does the grunt work of reversing and appending, e.g. dig -x
> 18.104.22.168 ptr, and some versions of dig even default to looking up PTR
> records when the -x option is used, so maybe the command is as simple as
> dig -x 22.214.171.124. Give it a try.
> - Kevin
(405) 818 3129 Cell
(405) 260 1926 Home
More information about the bind-users