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