Allow raw ip addresses
This commit is contained in:
@@ -45,6 +45,8 @@ endpoints:
|
||||
# DNS server used to resolve `host` for THIS endpoint. The
|
||||
# system/router-provided DNS resolver is never used — every lookup
|
||||
# goes explicitly to this server only.
|
||||
# Required unless `host` is already a literal IP address (see the
|
||||
# entry below), in which case it's optional and ignored.
|
||||
dns_server: "1.1.1.1"
|
||||
expected_status: 200
|
||||
# path: "/" # optional, defaults to "/"
|
||||
@@ -58,4 +60,11 @@ endpoints:
|
||||
dns_server: "9.9.9.9"
|
||||
expected_status: 200
|
||||
|
||||
- name: "example-raw-ip"
|
||||
host: "192.168.0.2" # literal IP -> DNS resolution is skipped entirely
|
||||
scheme: "http"
|
||||
port: 8080
|
||||
# dns_server not needed here
|
||||
expected_status: 200
|
||||
|
||||
# Add as many endpoints as you like below.
|
||||
|
||||
Reference in New Issue
Block a user