Xymon Mailing List Archive search

Help: how to make testip default behavior?

4 messages in this thread

list Mark Felder · Fri, 1 Aug 2014 21:36:31 -0500 ·
Hello,

We recently moved our DNS hosting infrastructure to DNS Made Easy. The price is great, the DNS resolution speed is amazing, and it has all the features one could hope for. Except one feature that happens to be a big bug in my opinion:

Any query that would normally return an NXDOMAIN instead returns 54.235.159.97 and they direct you to a webpage to tell you that the domain doesn't exist. This was not discovered in our testing. I'm extremely unsettled by this.

Turns out we have thousands of entries in hosts.cfg that don't resolve to real hostnames. This is mostly intentional; it's RFC1918 stuff on management VLANs. Unfortunately due to the lack of a "testip" entry Xymon is following this wildcard that is being injected by DNS Made Easy. I've started adding it in batches but this is very tedious. Can I tell xymon globally to behave as if "testip" was set everywhere?


Thanks
list Ralph Mitchell · Fri, 1 Aug 2014 23:00:20 -0400 ·
You can put a ".default" entry in your hosts.cfg, with the testip tag.  See
the "DEFAULT HOST" notes down near the bottom of this man page:

https://www.xymon.com/help/manpages/man5/hosts.cfg.5.html

Ralph Mitchell
quoted from Mark Felder


On Fri, Aug 1, 2014 at 10:36 PM, Mark Felder <user-db141d317836@xymon.invalid> wrote:
Hello,

We recently moved our DNS hosting infrastructure to DNS Made Easy. The
price is great, the DNS resolution speed is amazing, and it has all the
features one could hope for. Except one feature that happens to be a big
bug in my opinion:

Any query that would normally return an NXDOMAIN instead returns
54.235.159.97 and they direct you to a webpage to tell you that the domain
doesn't exist. This was not discovered in our testing. I'm extremely
unsettled by this.

Turns out we have thousands of entries in hosts.cfg that don't resolve to
real hostnames. This is mostly intentional; it's RFC1918 stuff on
management VLANs. Unfortunately due to the lack of a "testip" entry Xymon
is following this wildcard that is being injected by DNS Made Easy. I've
started adding it in batches but this is very tedious. Can I tell xymon
globally to behave as if "testip" was set everywhere?


Thanks

list Mark Felder · Fri, 1 Aug 2014 22:11:41 -0500 ·
quoted from Ralph Mitchell
On Aug 1, 2014, at 22:00, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid> wrote:

You can put a ".default" entry in your hosts.cfg, with the testip tag.  See the "DEFAULT HOST" notes down near the bottom of this man page:

https://www.xymon.com/help/manpages/man5/hosts.cfg.5.html

Thank you! I completely overlooked this. Another hidden gem in Xymon.


My original issue is not quite as I explained, but this will fix the problem nonetheless. (Long story short, I have to wait out an 86400 TTL until my error is corrected...)
list Jeremy Laidman · Mon, 11 Aug 2014 13:49:05 +1000 ·
You can also add "--dns=ip" to the CMD parameter for xymonnet in tasks.cfg.
quoted from Mark Felder


On 2 August 2014 13:11, Mark Felder <user-db141d317836@xymon.invalid> wrote:
On Aug 1, 2014, at 22:00, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
wrote:

You can put a ".default" entry in your hosts.cfg, with the testip tag.
 See the "DEFAULT HOST" notes down near the bottom of this man page:
https://www.xymon.com/help/manpages/man5/hosts.cfg.5.html

Thank you! I completely overlooked this. Another hidden gem in Xymon.


My original issue is not quite as I explained, but this will fix the
problem nonetheless. (Long story short, I have to wait out an 86400 TTL
until my error is corrected...)