Xymon Mailing List Archive search

Can we verify the DNS response

list Vernon Everett
Thu, 4 Nov 2010 10:01:00 +0800
Message-Id: <AANLkTikVg9O01W+qYRb4s6L7SS9H=user-8b01e44855db@xymon.invalid>

Hi Mike

As Richard suggests, I suspect the config you proposed is going to cause
Xymon, and yourself a world of hurt.
Remember, Xymon uses the hostname as the index (for lack of a better word)
Now you have the same host with 2 IP addresses.
Xymon will perform 2 pings, using lookup to resolve IP. bbtest-net is going
to bleat.
I suspect, the IP address from the lookup is the one that will be used as
the DNS server IP.
So both DNS lookups will be to the same IP address.

I would suggest a simple script to do what you need.

Regards
     Vernon


On Thu, Nov 4, 2010 at 8:21 AM, Mike Cavanagh <user-aa53cad052d4@xymon.invalid>wrote:
 An entry in the bb-host file like:


192.168.10.10     bambam              # dns=fred


will perform a DNS query against the server bambam for the hostname: fred.
The way I understand it is if a response is received, the DNS is considered
good.


I would like to know if here are any options to verify the result.  In my
particular case, we want to query against a “Split DNS” server and confirm
the correct IP is being returned in the A record.  So,


192.168.10.10     bambam.dom.com                         # dns=
fred.dom.com

71.137.200.10     bambam.dom.com                         # dns=
fred.dom.com


The first entry should return:  192.168.10.15

The second entry should return: 71.137.200.15


If DNS views are broken, the 2nd entry may return:  192.168.10.15   If so,
I want to get a page so DNS can be fixed.


Thanks,

Mike