77 Commits

Author SHA1 Message Date
Jamie Cameron
62a52bfc56 Code cleanups 2025-05-19 21:56:46 -07:00
Jamie Cameron
ed157300fc If somehow the serial is too long, still handle day rollover 2025-02-08 18:15:26 -08:00
Jamie Cameron
19edf0efd9 SPF record parts aren't space separate https://github.com/virtualmin/virtualmin-gpl/issues/935 2024-10-21 16:06:28 -07:00
Jamie Cameron
d2b2727039 Also update serial in SOA object https://forum.virtualmin.com/t/issue-with-dns-zone-serial-not-updating-in-virtualmin-cloudmin-setup/128622 2024-08-20 22:08:25 -07:00
Jamie Cameron
37c91a6330 TXT records should always be quoted 2024-02-29 20:37:48 -08:00
Jamie Cameron
323f0cc043 Use formal params 2023-07-14 16:51:25 -07: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
iliajie
d0ed6f944e Fix pointless warnings flooding error log 2022-06-30 13:08:38 +03:00
Jamie Cameron
fe9573eaa2 Fail fast if there's no zone file 2022-02-20 19:58:38 -08:00
Jamie Cameron
7474f4399f Fix perl warning 2022-02-09 22:40:14 -08:00
danci
72fdc331a6 Added missing DMARC tags (fr ri)
Committer: danci <danci@barbie.agenda.si>

 On branch dmarc_tags
 Changes to be committed:
	modified:   bind8/bind8-lib.pl
	modified:   bind8/lang/en
	modified:   bind8/records-lib.pl
	modified:   bind8/save_record.cgi
2022-01-22 20:10:41 +01:00
Jamie Cameron
5a508eb0e9 TTL can be zero https://github.com/webmin/webmin/issues/1577 2022-01-10 21:39:37 -08:00
Jamie Cameron
ab86002f4b Add support for the 'fo' tag in a DMARC record https://sourceforge.net/p/webadmin/bugs/5490/ 2021-06-12 11:15:42 -07:00
Jamie Cameron
09436eda3b Add option to not check DNSSEC expiry, which can be slow on large zone files https://sourceforge.net/p/webadmin/discussion/600155/thread/8d78d189e1 2021-04-20 20:56:18 -07:00
Jamie Cameron
c21de1604e Use formal params 2021-02-21 15:41:21 -08:00
Jamie Cameron
ec0755d6db Speed up deletion and creation of a large number of records https://github.com/webmin/webmin/issues/1434 2021-01-16 12:15:46 -08:00
Jamie Cameron
d41a2472b3 Show what file error about missing ) is in https://sourceforge.net/p/webadmin/bugs/5431/ 2020-12-06 20:30:47 -08:00
Jamie Cameron
8b8b957897 change default defaults https://github.com/webmin/webmin/issues/1203 2020-02-23 10:02:52 -08:00
Jamie Cameron
5affc13406 Also fix DMARC order in swebmin https://github.com/virtualmin/virtualmin-gpl/issues/117 2019-10-27 10:09:09 -07:00
Jamie Cameron
fd265242d1 Records with ; need to be quoted https://www.virtualmin.com/node/66527 2019-07-21 22:51:45 -07:00
Jamie Cameron
9ecb8b578d Domain might not be found 2019-02-18 18:09:49 -08:00
Jamie Cameron
cf75e66c5e Flush zone file before reading https://github.com/webmin/webmin/issues/870 2018-06-19 21:21:26 -07:00
Jamie Cameron
080c399e85 Remove extra space 2017-10-29 20:19:51 -07:00
Joe cooper
aa71f4d8e1 no warnings redefine to prevent confusing warnings 2017-04-23 19:41:56 -05:00
Jamie Cameron
2b7688d445 Trying to limit the level of recursion when parsing turns out to be infinitely expensive :-( 2016-11-18 15:14:49 -08:00
Jamie Cameron
a19b85d570 Limit level of recursion possible for the most expensive regexp https://www.virtualmin.com/node/43153 2016-10-28 16:53:59 -07:00
Jamie Cameron
c6cd892f15 Fail fast if file can't be opened 2016-09-30 14:01:44 -07:00
Jamie Cameron
55fb44f34c open_execute_command doesn't work with file handle vars https://sourceforge.net/p/webadmin/bugs/4801/ 2016-08-17 20:12:57 -07:00
Jamie Cameron
792b4d2bd7 Fix perl error 2016-08-14 11:41:33 -07:00
Jamie Cameron
54c7f75bf9 Some records don't have values https://sourceforge.net/p/webadmin/bugs/4800/ 2016-08-11 20:27:02 -07:00
Jamie Cameron
c8f403c5f6 Fix some warnings 2016-08-07 22:11:30 -07:00
Jamie Cameron
e6765ece27 fix perl errors if dmarc components are missing 2016-07-03 16:57:51 -07:00
Jamie Cameron
c5a51403d1 name may not be defined 2016-07-03 02:15:07 -07:00
Jamie Cameron
347b7e87cf Fix a bunch of minor warnings and unitialized vars 2016-06-23 23:15:12 -07:00
Jamie Cameron
085865ec9a Some fields may not be set 2016-06-23 22:45:36 -07:00
Joe Cooper
3a2f028f7e make $uscore and $star global
XXX could be better encapsulated
2016-06-02 19:23:50 -07:00
Jamie Cameron
8d538fae68 Make ipv6revzone available in all CGIs https://github.com/webmin/webmin/issues/369 2016-05-31 20:50:06 -07:00
Jamie Cameron
ef72775550 Deal with case with dmarc isn't even set 2016-05-31 16:50:36 -07:00
Jamie Cameron
1edcc12734 'other' field may be entirely missing 2016-05-30 16:27:53 -07:00
Joe Cooper
f3a5631c04 strict and warnings for records-lib.pl
Also make Perl Critic happy, except for return undefs.
2016-05-29 20:07:01 -07:00
Jamie Cameron
319a3b4d84 Email addresses cannot have spaces https://www.virtualmin.com/node/39564: 2016-02-01 17:44:12 -08:00
Jamie Cameron
743d0d59ad Multi-part TXT records are not automatically joined by a space, so when creating an SPF record this has to be explicitly added 2015-04-15 21:19:52 -07:00
Jamie Cameron
6d5f109068 Use ; and space as DMARC separators 2015-01-19 17:45:29 -08:00
Jamie Cameron
889d7d2ea0 Fixes for DMARC record editing 2015-01-18 22:39:39 -08:00
Jamie Cameron
754248f6af Support for editing DMARC records, similar to the way SPF is handled 2015-01-18 18:41:07 -08:00
Jamie Cameron
2bbb13cc3f Properly define return value for DNS key records list 2014-04-26 10:44:25 -07:00
Jamie Cameron
e8811cc23e Decode raw format slave zone files https://sourceforge.net/p/webadmin/bugs/4172/ 2013-12-13 09:21:43 -08:00
Jamie Cameron
0d8077e8cf Fix display of public keys 2013-03-03 21:25:17 -08:00
Jamie Cameron
0bbfdce8d6 Fix for SPF record type 2013-02-27 21:32:31 -08:00
Jamie Cameron
32db124487 Config option to use SPF records 2013-02-22 14:09:09 -08:00