Discussion:
[webmin-l] Monitoring, DNS-lookup
Joaquim Homrighausen
2017-07-17 10:59:11 UTC
Permalink
I'm trying to set-up a DNS-lookup monitor using latest version.

If I do the same thing from the CLI, using nslookup, everything checks
out fine, but when I configure the "same" monitor in Webmin, it reports
the monitor as being down.

Is there a way to figure out why?

I suspect one reason may be that a CNAME construct is used for the
address I want to lookup, and instead of an IP address, the CNAME is
returned and no further lookup is performed. Is there a way to change
this, as Webmin wants me to enter an IP-address to expect.



-joho
Jamie Cameron
2017-07-18 04:21:15 UTC
Permalink
Post by Joaquim Homrighausen
I'm trying to set-up a DNS-lookup monitor using latest version.
If I do the same thing from the CLI, using nslookup, everything checks
out fine, but when I configure the "same" monitor in Webmin, it reports
the monitor as being down.
Is there a way to figure out why?
I suspect one reason may be that a CNAME construct is used for the
address I want to lookup, and instead of an IP address, the CNAME is
returned and no further lookup is performed. Is there a way to change
this, as Webmin wants me to enter an IP-address to expect.
The reason is that currently, Webmin uses the "dig" or "nslookup" command
to lookup the supplied name, which will return the target of the CNAME rather
than the final IP address.

If you want to check the final IP instead, you can create an "Execute Command"
monitor which runs "host your.domain.com" and have it check that the output
is the correct IP.

Continue reading on narkive:
Loading...