--dns=ip and still require the occasional roaming IP check
Odinn
odinn_asgaard at yahoo.com
Wed Nov 11 16:20:54 CET 2009
The majority of my systems are hard coded IPs so my
default setting is --dns=ip in hobbitlaunch.cfg for bbtest-net to cut down on
actual DNS traffic. There is still the occasion to need to use 0.0.0.0 when
testing connectivity and other settings via CNAMED hosts.
Requires a simple code change of bbtest-net.c
Line 788 (or there abouts, depending on what version you
are using) is this line.
if (!h->testip &&
(dnsmethod != IP_ONLY)) add_host_to_dns_queue(h->hostname);
change it to this
if ((!h->testip && (dnsmethod != IP_ONLY)) ||
(strcmp(h->ip, "0.0.0.0") == 0))
add_host_to_dns_queue(h->hostname);
and you will still be able to do --dns=ip and still do
DNS searches on those systems that require a DNS lookup.
--
Jim Sloan
Just remember, today is the day you thought tomorrow was going to be yesterday.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091111/dda2f40f/attachment.html>
More information about the Xymon
mailing list