<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16470"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>There seems to be a
bug where DNS PTR (Reverse DNS lookup) checks do not work in Xymon (4.3.7, but I
don't recall seeing any fixes in the commits). The man page for hosts.cfg
says the format to use is:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=235221411-05042013> dns=TYPE:lookup</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>and one of the
examples underneath for TYPE is </SPAN></FONT><FONT size=2 face=Arial><SPAN
class=235221411-05042013>PTR (reverse). I have tried this in small and
capitals and neither work (the result is Name not found). Using A does
work though.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>I wonder if it could
be related to the fact that DiG needs to be invoked with -x for PTR
checks. A quick look at the DiG man page suggests you could use
either:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013># dig -t
PTR my.ip.ad.dr.ess</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=235221411-05042013>Or:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013># dig
my.ip.ad.dr.ess PTR</SPAN></FONT></DIV></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>However, this is not
the case. A closer looks reveals you have to use:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013># dig -x
my.ip.ad.dr.ess</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>So what I am saying
is that the treatment for type PTR differs from the other types, and that the
parameters supplied to DiG (if Xymon uses DiG ) differ for
PTR.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=235221411-05042013></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=235221411-05042013>Tested manually with
DiG 9.2.4 and the latest RHEL5:
9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.6.</SPAN></FONT></DIV></SPAN></FONT></DIV><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-gb><FONT size=2 face=Arial>Kind
regards,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT size=2 face=Arial><SPAN
class=235221411-05042013>SebA</SPAN></FONT></SPAN></P></BODY></HTML>