<div class="gmail_quote">On Thu, Nov 3, 2011 at 6:44 PM, Darrik Mazey <span dir="ltr"><<a href="mailto:darrik.lists@darmasoft.com">darrik.lists@darmasoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11/03/2011 03:57 PM, Xymon User in Richmond wrote:<br>
> DNS will return all 3 IPs on a query, and it's left to the client side<br>
> which to use.  Most often the first one is used.  "Round robin" DNS<br>
> servers will alternate the order of the 3, but that still leaves a lot of<br>
> room for locking in on a single address by multiple clients.  You could<br>
> set up different names for the IPs and bind groups of Xymon clients to<br>
> each to spread out the load, I think.<br>
<br>
</div>This will also depend on whether the xymon client resolves the ip once<br>
at startup or on each data send.  If it's once at startup, then whatever<br>
ip it is given (even from a round-robin dns server) will persist until<br>
it is restarted.  I'll leave it to those who have examined this behavior<br>
and xymon client internals to say which is the case.</blockquote><div><br></div><div> If I recall past conversations correctly, xymon goes out to resolve hostnames every time.  However, the actual behaviour depends on the host system - if the host is running a name server cache daemon (e.g. nscd), then xymon will be handed whatever is cached until that expires, then it'll get a fresh copy from the real DNS.</div>
<div><br></div><div>You can override the name lookup for any given hostname by putting "testip" on it's line in server/etc/hosts.cfg:</div><div><br></div><div>    1.2.3.4 <a href="http://xxx.thingy.com">xxx.thingy.com</a>     # testip</div>
<div><br></div><div><br></div><div>Ralph Mitchell</div></div>