Re: [webmin-l] Monitoring, DNS-lookup
"Jamie Cameron" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
On 17/Jul/2017 03:59 Joaquim Homrighausen <[email protected]> wrote .. > > 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. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list