Allow raw ip addresses

This commit is contained in:
2026-08-20 09:32:04 +02:00
parent 0fed855cf7
commit 86e644410b
5 changed files with 82 additions and 15 deletions
+7
View File
@@ -82,6 +82,13 @@ For each check:
At no point is the container's own (router-provided) DNS resolver
consulted for endpoint hostnames.
**Literal IPs in `host`:** if `host` is already an IPv4/IPv6 address (e.g.
`192.168.0.2`), DNS resolution is skipped entirely — the monitor connects
to it directly, and `dns_server` is optional/ignored for that endpoint.
(Without this, a literal IP would be sent as a DNS query to whatever
`dns_server` you configured, which returns NXDOMAIN — it is not a valid
hostname — and the check would always fail.)
## What gets written to InfluxDB
Measurement `uptime_check`, one point per endpoint per check: