aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-dns.rsc
AgeCommit message (Expand)AuthorFilesLines
14 daysnetwatch-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+8
2024-11-27netwatch-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release 7.16 as that is available meanwhile). routeros-7.16-7Gravatar Christian Hesse1-2/+2
2024-09-05netwatch-dns: give warning on CRL useGravatar Christian Hesse1-0/+4
2024-08-19netwatch-dns: disable DoH if time not sync...•••... as it is possible that time is off, DNS via DoH fails (cert invalid), and finally syncing time fails due to failing DNS. Gravatar Christian Hesse1-0/+8
2024-07-16bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.14 anyway. Gravatar Christian Hesse1-1/+1
2024-04-07bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.13 anyway. routeros-7.13-6Gravatar Christian Hesse1-1/+1
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 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 Gravatar Christian Hesse1-15/+25
2024-01-11netwatch-dns: check DoH server functionality...•••... and try all servers one after another. Gravatar Christian Hesse1-21/+31
2024-01-11netwatch-dns: enable DoH certificate verification...•••... if a certificate is named in configuration. Gravatar Christian Hesse1-1/+3
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 delay•••In RouterOS 7.9 netwatch itself comes with a (default) startup-delay of five minutes. Increase our delay to make sure netwatch is active. Gravatar Christian Hesse1-1/+1
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"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-0/+94