[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Can we verify the DNS response
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Can we verify the DNS response
- From: Vernon Everett <everett.vernon (at) gmail.com>
- Date: Thu, 4 Nov 2010 10:01:00 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=6np7xb4Mdd+L9E+NyjxWKe0w8cgw+E2o0kS6pdQ4xNI=; b=awtIjss5ZrqOMYx8ox3uNRlfsg90+MCwMdxARAXTChR50jrSZDkFLrMAdr8cOAUXBv cOdizrrbhy6pEM2d4YfPGtcAR8Wpbcp2QoTIs9hkMHGZ1wHRRTHezRAktr/VeJDmiD+C /SImE7csN10EWlnBXxxxb4FBA0E3cQeoxE2Sk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=btNoYrGa0x6MW3AZjYmwvq7KqOueiKKdxcAvb5qtDu9Hr0YK2Ddt6ctLHMGE6t7ruc GcWMiWheWYamHYTV6Vlke84ftVblTkWz7S6uGJJ0IBUErNnZaKat2ruNTiAKWzs5ooxR yj/JN18k9Q0v2r/ohH5wDzSeDnfBwf1+iShaI=
- References: <1F1C58F2EFF67D4BBA8E95A2671E33F201761128 (at) eddie.CartGolf.Org>
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
>
>
>