On Tue, May 22, 2007 at 02:53:45PM -0400, Hobbit User wrote:
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.
That was an omission on my part - fixed now.
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.
I have it just the other way around :-) I'd rather not have to remember IP's for all of my hosts - that's what DNS is for. So had it not been for compatibility with the BB bb-hosts format, I'd probably have removed the IP address entirely from bb-hosts.
Regards, Henrik