aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-dns.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-09-05netwatch-dns: give warning on CRL useGravatar Christian Hesse1-0/+4
2024-08-19netwatch-dns: disable DoH if time not sync...Gravatar Christian Hesse1-0/+8
... as it is possible that time is off, DNS via DoH fails (cert invalid), and finally syncing time fails due to failing DNS.
2024-07-16bump RouterOS requirement for all scripts and modules...Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.14 anyway.
2024-04-07bump RouterOS requirement for all scripts and modules...routeros-7.13-6Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.13 anyway.
2024-03-12netwatch-dns: switch to $LogPrintGravatar Christian Hesse1-13/+12
2024-03-12netwatch-dns: drop main function, use :do with on-errorGravatar Christian Hesse1-9/+7
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-12netwatch-dns: do not exit with errorGravatar Christian Hesse1-3/+6
2024-03-04netwatch-dns: move code into functionGravatar Christian Hesse1-85/+90
2024-01-30netwatch-dns: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-18netwatch-dns: be move verbose on time to settleGravatar Christian Hesse1-2/+3
2024-01-15netwatch-dns: check DoH server with fetchGravatar Christian Hesse1-15/+25
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
2024-01-11netwatch-dns: check DoH server functionality...Gravatar Christian Hesse1-21/+31
... and try all servers one after another.
2024-01-11netwatch-dns: enable DoH certificate verification...Gravatar Christian Hesse1-1/+3
... if a certificate is named in configuration.
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-11-27netwatch-dns: get doh host name from static dnsGravatar Christian Hesse1-1/+6
2023-10-27netwatch-dns: match on word boundaryGravatar Christian Hesse1-2/+2
2023-06-28netwatch-dns: increase startup delayGravatar Christian Hesse1-1/+1
In RouterOS 7.9 netwatch itself comes with a (default) startup-delay of five minutes. Increase our delay to make sure netwatch is active.
2023-06-01netwatch-dns: reorder variablesGravatar Christian Hesse1-1/+1
2023-06-01netwatch-dns: handle status 'up' onlyGravatar Christian Hesse1-5/+4
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+94
No functional change for the user... The migration is done automatically.