From d7b437595cc5a1479e6e2d44ebc6efbf6d26c868 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sun, 9 May 2021 13:45:27 -0400 Subject: [PATCH] Add example-dns-query --- config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.yaml b/config.yaml index 2fbe59e5..cd13f57b 100644 --- a/config.yaml +++ b/config.yaml @@ -36,3 +36,13 @@ services: - "[STATUS] == 200" - "[BODY].deleted == false" - "len([BODY].text) > 0" + + - name: example-dns-query + url: "8.8.8.8" # Address of the DNS server to use + interval: 5m + dns: + query-name: "example.com" + query-type: "A" + conditions: + - "[BODY] == 93.184.216.34" + - "[DNS_RCODE] == NOERROR" \ No newline at end of file