diff --git a/.examples/docker-compose-postgres-storage/config/config.yaml b/.examples/docker-compose-postgres-storage/config/config.yaml index de783853..8ddf08d5 100644 --- a/.examples/docker-compose-postgres-storage/config/config.yaml +++ b/.examples/docker-compose-postgres-storage/config/config.yaml @@ -26,7 +26,7 @@ endpoints: - "[STATUS] == 200" - name: example-dns-query - url: "8.8.8.8" # Address of the DNS server to use + url: "1.1.1.1" # Address of the DNS server to use interval: 5m dns: query-name: "example.com" diff --git a/.examples/docker-compose-sqlite-storage/config/config.yaml b/.examples/docker-compose-sqlite-storage/config/config.yaml index b455c218..5f4af247 100644 --- a/.examples/docker-compose-sqlite-storage/config/config.yaml +++ b/.examples/docker-compose-sqlite-storage/config/config.yaml @@ -26,7 +26,7 @@ endpoints: - "[STATUS] == 200" - name: example-dns-query - url: "8.8.8.8" # Address of the DNS server to use + url: "1.1.1.1" # Address of the DNS server to use interval: 5m dns: query-name: "example.com" diff --git a/config.yaml b/config.yaml index 75e9126c..fec86f17 100644 --- a/config.yaml +++ b/config.yaml @@ -31,7 +31,7 @@ endpoints: - "[STATUS] == 200" - name: example-dns-query - url: "8.8.8.8" # Address of the DNS server to use + url: "1.1.1.1" # Address of the DNS server to use interval: 5m dns: query-name: "example.com" diff --git a/core/endpoint_test.go b/core/endpoint_test.go index 93c0df6b..68faa9c7 100644 --- a/core/endpoint_test.go +++ b/core/endpoint_test.go @@ -33,7 +33,7 @@ func TestEndpoint_Type(t *testing.T) { want EndpointType }{{ fields: fields{ - URL: "8.8.8.8", + URL: "1.1.1.1", DNS: &DNS{ QueryType: "A", QueryName: "example.com", @@ -426,7 +426,7 @@ func TestIntegrationEvaluateHealthForDNS(t *testing.T) { conditionBody := Condition("[BODY] == 93.184.216.34") endpoint := Endpoint{ Name: "example", - URL: "8.8.8.8", + URL: "1.1.1.1", DNS: &DNS{ QueryType: "A", QueryName: "example.com.",