[Xymon] Reverse DNS lookup check not working
SebA
spah at syntec.co.uk
Thu Apr 11 13:30:20 CEST 2013
Thanks Jeremy, that's awesome. There were no examples for PTR on Xymon out
there so this may help others too. It works and thanks for the explanation.
Kind regards,
SebA
_____
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: 08 April 2013 02:32
To: SebA
Cc: xymon
Subject: Re: [Xymon] Reverse DNS lookup check not working
On 8 April 2013 00:34, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
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
I was wrong in the IP address that I test, but correct in the format and the
fact that it works. You should be able to do PTR record checks by
formatting in this "in-addr.arpa" format. An easy way to get this is from
the output of "dig -x" which shows the question section in the
"in-addr.arpa" format (and also in the answer section if it resolves).
J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130411/77bf434b/attachment.html>
More information about the Xymon
mailing list