Commit Graph

284 Commits

Author SHA1 Message Date
Jamie Cameron
8a1e3d2b2f Clean up code and add formal params 2025-05-04 19:59:52 -07:00
Jamie Cameron
5820a98f5a TLS directives need quoting 2025-05-04 18:37:49 -07:00
Jamie Cameron
b0557de951 DNS over TLS is only supported in version 9.17+ 2025-05-04 16:52:16 -07:00
Jamie Cameron
a2e6afbd06 Fix check for key in use 2025-04-27 17:28:05 -07:00
Jamie Cameron
6743d3b4c6 Add support for IPv6 listen-on 2025-04-27 14:22:01 -07:00
Jamie Cameron
172c504abb Add check for in-use TLS keys 2025-04-27 11:23:54 -07:00
Jamie Cameron
924e7e8ff5 Remove useless variable 2025-04-26 08:49:49 -07:00
Jamie Cameron
cb7de4edec Remove duplicate variable 2025-04-26 08:32:28 -07:00
Jamie Cameron
bcfb698ac6 Detect case where cache is somehow empty
https://github.com/webmin/webmin/issues/2460
2025-04-25 19:50:25 -07:00
Jamie Cameron
0de1844755 Work on DNS over TLS 2025-04-24 21:07:03 -07:00
Jamie Cameron
e87fc560c9 Move random flag check into a function 2025-04-20 21:15:49 -07:00
Jamie Cameron
ac21e39a88 Use standard functions for version checks 2025-04-20 20:50:51 -07:00
Jamie Cameron
f76451975c Fix allow-update check
https://forum.virtualmin.com/t/virtualmin-dns-fails-to-detect-rndc-freeze-is-needed/132653
2025-04-12 21:42:41 -07:00
Jamie Cameron
5a777e9395 Dynamic updates may also be enabled globally
https://forum.virtualmin.com/t/virtualmin-dns-fails-to-detect-rndc-freeze-is-needed/132653
2025-03-20 14:55:54 -07:00
Jamie Cameron
23cb74fa35 Add function to show warnings in records 2025-03-09 16:34:14 -07:00
Jamie Cameron
14f9624ac4 Also check file size in the cache 2025-01-29 20:54:28 -08:00
Jamie Cameron
60ce4c81fe Cleanup code that checks the cache 2025-01-29 20:39:57 -08:00
Jamie Cameron
cfb7f9b560 hash in port needs to be quoted https://github.com/webmin/webmin/issues/2357 2025-01-11 15:52:31 -08:00
Jamie Cameron
1f6697e05f NSEC3PARAM salt can be - https://github.com/virtualmin/virtualmin-gpl/issues/895 2024-09-06 19:00:42 -07:00
Jamie Cameron
2d7cfca67f Prevent duplicate also-notify and allow-transfer IPs 2024-06-12 16:52:50 -07:00
Romanitch
6df08bc645 add ED25519 & ED448 DNSSEC Key Algorithm 2024-04-18 19:43:16 +03:00
Jamie Cameron
409a4fbb7b Sometimes there is no options block https://forum.virtualmin.com/t/bind-module-is-not-set-up/123790 2023-12-09 12:42:39 -08:00
Jamie Cameron
7ad30bdc8c Make sure index field is always populated https://github.com/webmin/webmin/issues/2041 2023-10-28 15:21:13 -07:00
Jamie Cameron
3c971dacc1 Copy allow-transfer directives up from global, because they aren't merged 2023-09-29 20:40:31 -07:00
Jamie Cameron
96bfc34247 Clean up code to set per-domain allow-transfer and also-notify 2023-09-27 16:36:21 -07:00
Jamie Cameron
60a3b3b4a9 Make sure NSEC3PARAM record is always deleted https://github.com/virtualmin/virtualmin-gpl/issues/604 2023-08-06 09:50:43 -07:00
iliajie
195ea913df Fix logic to check if /dev/urandom is allowed 1bc262481d (commitcomment-120432005) 2023-07-05 12:06:47 +03:00
Jamie Cameron
1f46918693 Also check host field 2023-05-24 21:46:12 -07:00
John Heenan
102da88262 Fix for failure to re-start DNS BIND on slave servers
See https://github.com/virtualmin/virtualmin-gpl/issues/565
2023-05-25 14:27:31 +10:00
iliajie
fae07aed8a Fix if defined 2023-05-04 14:31:22 +03:00
Jamie Cameron
33a8c5c8af Fix check for values field 2023-05-03 17:01:40 -07:00
iliajie
06ae7b8582 Fix undefined error fa42a98acb (commitcomment-111597917) 2023-05-03 16:27:00 +03:00
Jamie Cameron
fa42a98acb Use values array if value isn't set https://forum.virtualmin.com/t/dns-not-appearing-on-slaves/120477 2023-04-28 20:08:09 -07:00
Jamie Cameron
6100583d60 The value field has to be set in all sub-structures 2023-03-04 19:17:36 -08:00
Jamie Cameron
5a9f2de6d3 Add function to reload a zone on all slaves 2023-02-12 17:49:34 -08:00
Jamie Cameron
fb635c1591 Fix error message 2023-02-04 23:18:52 -08:00
Jamie Cameron
bfc0f89b55 Add comment 2023-01-21 17:14:16 -08:00
Jamie Cameron
6451f4b115 Store and show default TTL set by $ttl https://github.com/webmin/webmin/issues/1816 2023-01-10 22:23:36 -08:00
Jamie Cameron
e080fb3470 Zone type might be in upper case https://sourceforge.net/p/webadmin/bugs/5600/ 2022-12-17 23:17:55 -08:00
Jamie Cameron
0ec465cfb0 Also check dynamic status before editing 2022-10-19 17:04:35 -07:00
Jamie Cameron
f7441d2c22 Include dynamic zone status in cache, and use this to determined whether a freeze/thaw is needed 2022-10-19 17:01:31 -07:00
Jamie Cameron
de53c5acc0 Add back freeze and thaw when reloading zones https://sourceforge.net/p/webadmin/bugs/5587/ 2022-10-18 20:56:17 -07:00
Jamie Cameron
90e164671f We are only reading named.conf, not writing here 2022-10-04 20:52:10 -07:00
Jamie Cameron
66849cbe55 Support the older primary zone type, which is the same as master https://sourceforge.net/p/webadmin/bugs/5584/ 2022-09-22 22:58:22 -07:00
iliajie
6ce312f734 Fix get slave IPv6 address 2022-08-02 13:51:15 +03:00
Jamie Cameron
d43fc5fa32 Allow IPv6 addresses for slaves https://forum.virtualmin.com/t/i-need-some-information/116013/37 2022-08-02 03:26:00 -07:00
iliajie
d0ed6f944e Fix pointless warnings flooding error log 2022-06-30 13:08:38 +03:00
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04:00
Jamie Cameron
b5ce93bcac Add flag to force key re-generation https://github.com/virtualmin/virtualmin-gpl/issues/406 2022-06-18 12:47:11 -07:00
Jamie Cameron
38dc8cdf4f We don't need to freeze and thaw on reload, as we do it before and after editing 2022-05-07 12:16:15 -07:00