51 Commits

Author SHA1 Message Date
Deltaman-MWI
ee420bef24 Allow the DMARC pct field to be left empty in bind8
RFC 9989 (DMARCbis) removes the pct tag, but the DMARC form validated
the percentage as mandatory and always assigned it, so every record
written through Webmin contained pct=.

Treat the field like the sp field directly below it: when it is empty,
delete the tag. Values 0-100 are still accepted and validated for
anyone who deliberately uses pct during a rollout. join_dmarc() already
skips tags with an empty value, so no change was needed there.

Fixes #2843

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 13:05:08 +02:00
Joe Cooper
1a7a28f192 Add bind8 tests, perlcritic, minor fixes 2026-05-22 23:54:11 -05:00
Joe Cooper
d87808ca73 Allow underscore in TXT, CNAME, etc. 2026-05-20 19:54:18 -05:00
Joe Cooper
ac68a0be0c Fix bind8 undefined warnings 2026-03-23 21:36:29 -05:00
Jamie Cameron
cbaff19725 Add option, disabled by default, to allow use of ALIAS records
https://github.com/webmin/webmin/issues/2095
2025-09-06 10:33:51 -07: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
38b119ac43 Fix error message for salt field https://github.com/virtualmin/virtualmin-gpl/issues/895 2024-09-06 16:15:27 -07:00
Jamie Cameron
5565113777 Pass in conf instead of filename 2024-03-07 18:49:18 -08:00
Jamie Cameron
4bd9c59038 Freeze and thaw dynamic reverse zones when updating a forward record https://github.com/webmin/webmin/issues/1810 2022-12-18 21:50:26 -08: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
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
8e378129d0 Replacement field in NAPTR doesn't need quotes 2022-01-31 20:53:55 -08:00
Jamie Cameron
909b1d56f8 Add support for NAPTR records 2022-01-30 14:20:30 -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
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
17daad6c89 Add support for CAA records 2019-11-03 14:03:29 -08:00
Tj
506155090b bind8: DNSSEC fix NSEC3PARAM RR do not include salt length 2019-09-12 19:24:15 +01: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
51c45c1dec Use exit handler to unfreeze zones 2018-04-08 17:47:01 -07:00
Jamie Cameron
0503f26abf Freeze and thaw zones when editing https://github.com/webmin/webmin/issues/870 2018-03-18 17:25:40 -07:00
Jamie Cameron
e239c46ff7 When using a redirect, it makes no sense to have an all= option https://sourceforge.net/p/webadmin/bugs/5029/ 2017-10-13 12:47:47 -07:00
Jamie Cameron
a4f35a939d IPv6 should be usable in SPF records even if the system cannot make IPv6 connections https://sourceforge.net/p/webadmin/bugs/5025/ 2017-10-11 19:11:07 -07:00
Jamie Cameron
63da3c8e39 Fix dupe string 2017-04-23 22:32:41 -07:00
Jamie Cameron
0fd3627e96 SSHFP record support 2017-01-26 21:27:33 -08:00
Jamie Cameron
d2b43d2eaa TLSA record support 2016-10-02 20:30:36 -07:00
Joe Cooper
adfd154341 strict/warn #380
XXX This one is hairy! But, self-contained in this one file, so fine for
now.
2016-06-02 21:35:42 -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
30597f6c38 SPF a tag cannot be an IP address https://sourceforge.net/p/webadmin/bugs/4706/ 2016-02-04 20:09:28 -08:00
Jamie Cameron
16508b0a96 Fix deletion of reverse record in delegated zone 2015-11-08 11:21:31 -08:00
Jamie Cameron
51810b536a More fixes to partial reverse record editing 2015-11-07 16:05:19 -08:00
Jamie Cameron
b070b0242c Factor out function to build a reverse record name from an IP 2015-11-06 23:04:48 -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
e12e75639a Add support for NSEC3PARAM records 2014-12-05 21:39:46 -08:00
Jamie Cameron
c2b42e9e38 Work on NSEC3PARAM record type support 2014-12-03 20:13:58 -08:00
Jamie Cameron
3d8449fbc3 Add missing dollar https://sourceforge.net/p/webadmin/bugs/4423/ 2014-05-27 13:07:57 -07:00
Jamie Cameron
c178e0e145 Base64 encoded key can end with = https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3613029&group_id=17457 2013-05-10 10:10:26 -07:00
Jamie Cameron
63a1b4a3c6 Improvements to UI for editing long TXT records 2013-03-06 16:40:50 -08:00
Jamie Cameron
6ffbb01b83 Handle editing of long TXT records https://www.virtualmin.com/node/25318 2013-02-08 23:04:56 -08:00
Jamie Cameron
2bf2cb7d8e Switch all zone links from indexes to zone names https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3579856&group_id=17457 2012-10-26 22:33:55 -07:00
Jamie Cameron
6c6eef0a7d Use names in record links instead of indexes 2011-05-28 11:03:07 -07:00
Jamie Cameron
5e607dc1f5 Disallow > 10 SPF MX domains 2010-12-23 23:46:56 -08:00
Jamie Cameron
51be804a4f IPv6 SPF record support 2010-11-05 23:04:26 -07:00
Jamie Cameron
e39440bdb7 Redirect and explanation modifiers can be viewed and edited in SPF records 2009-05-20 19:38:12 +00:00
Jamie Cameron
94c5b7f478 Split long SPF records 2009-03-06 20:09:36 +00:00
Jamie Cameron
749a49b2e3 More work on DNSSEC 2008-11-24 22:23:58 +00:00
Jamie Cameron
861eb08963 ui-lib conversions 2008-08-29 20:10:16 +00:00
Jamie Cameron
0a53644430 Correct absolute paths without . in some cases 2008-06-15 22:07:56 +00:00
Jamie Cameron
d46fe54552 Allow spaces in HINFO records 2008-04-10 18:06:38 +00:00