mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 23:43:27 +01:00
fix(dns): Use Cloudflare's DNS instead of Google's DNS
This commit is contained in:
parent
dfcdc57a18
commit
829a9c2679
@ -26,7 +26,7 @@ endpoints:
|
|||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
|
||||||
- name: example-dns-query
|
- 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
|
interval: 5m
|
||||||
dns:
|
dns:
|
||||||
query-name: "example.com"
|
query-name: "example.com"
|
||||||
|
@ -26,7 +26,7 @@ endpoints:
|
|||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
|
||||||
- name: example-dns-query
|
- 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
|
interval: 5m
|
||||||
dns:
|
dns:
|
||||||
query-name: "example.com"
|
query-name: "example.com"
|
||||||
|
@ -31,7 +31,7 @@ endpoints:
|
|||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
|
||||||
- name: example-dns-query
|
- 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
|
interval: 5m
|
||||||
dns:
|
dns:
|
||||||
query-name: "example.com"
|
query-name: "example.com"
|
||||||
|
@ -33,7 +33,7 @@ func TestEndpoint_Type(t *testing.T) {
|
|||||||
want EndpointType
|
want EndpointType
|
||||||
}{{
|
}{{
|
||||||
fields: fields{
|
fields: fields{
|
||||||
URL: "8.8.8.8",
|
URL: "1.1.1.1",
|
||||||
DNS: &DNS{
|
DNS: &DNS{
|
||||||
QueryType: "A",
|
QueryType: "A",
|
||||||
QueryName: "example.com",
|
QueryName: "example.com",
|
||||||
@ -426,7 +426,7 @@ func TestIntegrationEvaluateHealthForDNS(t *testing.T) {
|
|||||||
conditionBody := Condition("[BODY] == 93.184.216.34")
|
conditionBody := Condition("[BODY] == 93.184.216.34")
|
||||||
endpoint := Endpoint{
|
endpoint := Endpoint{
|
||||||
Name: "example",
|
Name: "example",
|
||||||
URL: "8.8.8.8",
|
URL: "1.1.1.1",
|
||||||
DNS: &DNS{
|
DNS: &DNS{
|
||||||
QueryType: "A",
|
QueryType: "A",
|
||||||
QueryName: "example.com.",
|
QueryName: "example.com.",
|
||||||
|
Loading…
Reference in New Issue
Block a user