From b88d0b1c34f2ab13bd24fa5939c0662a3669e889 Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 18 Apr 2024 21:04:34 -0400 Subject: [PATCH] chore: Update example.com's IPv4 and IPv6 --- .examples/docker-compose-postgres-storage/config/config.yaml | 2 +- .examples/docker-compose-sqlite-storage/config/config.yaml | 2 +- README.md | 2 +- config.yaml | 2 +- core/dns_test.go | 4 ++-- core/endpoint_test.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.examples/docker-compose-postgres-storage/config/config.yaml b/.examples/docker-compose-postgres-storage/config/config.yaml index ea579ecf..3bc1451e 100644 --- a/.examples/docker-compose-postgres-storage/config/config.yaml +++ b/.examples/docker-compose-postgres-storage/config/config.yaml @@ -32,7 +32,7 @@ endpoints: query-name: "example.com" query-type: "A" conditions: - - "[BODY] == 93.184.216.34" + - "[BODY] == 93.184.215.14" - "[DNS_RCODE] == NOERROR" - name: icmp-ping diff --git a/.examples/docker-compose-sqlite-storage/config/config.yaml b/.examples/docker-compose-sqlite-storage/config/config.yaml index b455c218..70c083f7 100644 --- a/.examples/docker-compose-sqlite-storage/config/config.yaml +++ b/.examples/docker-compose-sqlite-storage/config/config.yaml @@ -32,7 +32,7 @@ endpoints: query-name: "example.com" query-type: "A" conditions: - - "[BODY] == 93.184.216.34" + - "[BODY] == 93.184.215.14" - "[DNS_RCODE] == NOERROR" - name: icmp-ping diff --git a/README.md b/README.md index 3b198e7a..c7c8a7d5 100644 --- a/README.md +++ b/README.md @@ -1839,7 +1839,7 @@ endpoints: query-name: "example.com" query-type: "A" conditions: - - "[BODY] == 93.184.216.34" + - "[BODY] == 93.184.215.14" - "[DNS_RCODE] == NOERROR" ``` diff --git a/config.yaml b/config.yaml index ee49818f..f22cf799 100644 --- a/config.yaml +++ b/config.yaml @@ -37,7 +37,7 @@ endpoints: query-name: "example.com" query-type: "A" conditions: - - "[BODY] == 93.184.216.34" + - "[BODY] == 93.184.215.14" - "[DNS_RCODE] == NOERROR" - name: icmp-ping diff --git a/core/dns_test.go b/core/dns_test.go index f888bc92..29e57da1 100644 --- a/core/dns_test.go +++ b/core/dns_test.go @@ -24,7 +24,7 @@ func TestIntegrationQuery(t *testing.T) { }, inputURL: "8.8.8.8", expectedDNSCode: "NOERROR", - expectedBody: "93.184.216.34", + expectedBody: "93.184.215.14", }, { name: "test DNS with type AAAA", @@ -34,7 +34,7 @@ func TestIntegrationQuery(t *testing.T) { }, inputURL: "8.8.8.8", expectedDNSCode: "NOERROR", - expectedBody: "2606:2800:220:1:248:1893:25c8:1946", + expectedBody: "2606:2800:21f:cb07:6820:80da:af6b:8b2c", }, { name: "test DNS with type CNAME", diff --git a/core/endpoint_test.go b/core/endpoint_test.go index 82c620b7..18f5be69 100644 --- a/core/endpoint_test.go +++ b/core/endpoint_test.go @@ -759,7 +759,7 @@ func TestIntegrationEvaluateHealthWithErrorAndHideURL(t *testing.T) { func TestIntegrationEvaluateHealthForDNS(t *testing.T) { conditionSuccess := Condition("[DNS_RCODE] == NOERROR") - conditionBody := Condition("[BODY] == 93.184.216.34") + conditionBody := Condition("[BODY] == 93.184.215.14") endpoint := Endpoint{ Name: "example", URL: "8.8.8.8",