Add example-dns-query
@@ -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
