On 17/Jul/2017 03:59 Joaquim Homrighausen <jo...@we...> 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.
|