Allow raw ip addresses
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user