diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-14 22:36:21 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-15 14:07:38 +0100 |
commit | 5fd8c8a760c332ff4858e0e0f2cdab2ff3a3ddb7 (patch) | |
tree | ddd1d3fd8cb3a372efb80ffbaa1a430c4d80343e /README.d/13-install-custom-script.avif | |
parent | 85aeeadcee6d6ae38768dac41b6e41cba3289b04 (diff) |
netwatch-dns: check DoH server with fetch
This way we do not have to configure possibly non-functional servers to
check. The query is for doh-check.eworm.de of type TXT, the expected
answer is 'doh-check-OK'.
% dig TXT doh-check.eworm.de +https @1.1.1.1
; <<>> DiG 9.18.21 <<>> TXT doh-check.eworm.de +https @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42226
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;doh-check.eworm.de. IN TXT
;; ANSWER SECTION:
doh-check.eworm.de. 63791 IN TXT "doh-check-OK"
;; Query time: 16 msec
;; SERVER: 1.1.1.1#443(1.1.1.1) (HTTPS)
;; WHEN: Mon Jan 15 13:55:36 CET 2024
;; MSG SIZE rcvd: 72
Diffstat (limited to 'README.d/13-install-custom-script.avif')
0 files changed, 0 insertions, 0 deletions