Xymon Mailing List Archive search

Hobbit doing DNS lookup instead of using bb-hosts address?

list Hobbit User
Tue, 22 May 2007 14:53:45 -0400 (EDT)
Message-Id: <user-d17e43d31216@xymon.invalid>

On Tue, May 22, 2007 14:28, Daniel J McDonald wrote:
On Tue, 2007-05-22 at 14:18 -0400, Hobbit User wrote:
But it seems that if mail.subnet.net can
be resolved to an IP address via DNS, Hobbit will use the registered
address instead of the one in its own bb-hosts file.  So the test fails,
which is exactly the point of having the tunnel.  So to use the tunnel,
I
have to use a bogus name.

Is this the correct behavior?
Yes.
 Am I missing something?
Yes.  testip.  When the ip and domain-name conflict, dns is used unless
the testip option is specified.
Thanks.  Works like a charm.  Is there doc on that?  The bb-hosts manpage
refers to testip functionality only when stating that the http tests
ignore it.  My perusing of the list archives seemed to indicate that
Hobbit used the bb-hosts IP address unless it was 0.0.0.0, in which case
it did a lookup.  Which makes more sense to me than the actual behavior of
having to tag the line to get the IP address on it to be used for
anything.