[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xymon] Can we verify the DNS response



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 <mike (at) terrapintesting.com>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
>
>
>