[Xymon] Reverse DNS lookup check not working

Jeremy Laidman jlaidman at rebel-it.com.au
Sun Apr 7 16:34:26 CEST 2013


On 5 April 2013 22:30, SebA <spah at syntec.co.uk> wrote:

> **
> I wonder if it could be related to the fact that DiG needs to be invoked
> with -x for PTR checks.
>

Not required for PTR checks.


>   A quick look at the DiG man page suggests you could use either:
> # dig -t PTR my.ip.ad.dr.ess
> Or:
>  # dig my.ip.ad.dr.ess PTR
>

No, it's more like this:

# dig ess.addr.ip.my.in-addr.arpa PTR


> However, this is not the case.  A closer looks reveals you have to use:
>  # dig -x my.ip.ad.dr.ess
>

The -x option is a convenience, and it means not only "set type to PTR" but
also "reverse octets and append 'in-addr.arpa'".

I'm not in a position to check until tomorrow, but I'm confident that I
successfully test for the localhost address like so

  DNS=PTR:1.0.0.127.in-addr.arpa

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130408/900dd5e8/attachment.html>


More information about the Xymon mailing list