Control Web Panel
WebPanel => CentOS 9 Problems => Topic started by: Freespirits_GR_Host on December 20, 2025, 09:18:23 PM
-
I’m reporting a DNS Editor issue in CWP7 Pro related to DMARC TXT
records.
Summary
When editing/adding a DMARC TXT record using the CWP GUI (User Panel DNS Functions), the record is silently truncated at the semicolon (;) when published, resulting in an invalid DMARC record.
Environment
Product: CWP7 Pro
OS: AlmaLinux 9
DNS service: BIND/named (CWP-managed zone)
Zone: skon.gr
Server: pieria (hostname shown on server shell)
Steps to Reproduce
Go to: User Panel → DNS Functions → (User Defined Records) → Edit TXT
Edit or add a TXT record with:
Record Name: _dmarc
TTL (Cache): 600 (or default)
Text record value: v=DMARC1; p=none
Click Save record
Verify the published DNS record:
dig +short TXT _dmarc.yourdomain
Actual Result
The published DMARC record becomes:
"v=DMARC1"
The p=none part is missing (and any content after ; is dropped). This
produces an invalid DMARC record.
Expected Result
The published record should contain the full DMARC value, for example:
"v=DMARC1; p=none"
(or split across strings but still containing p=none).
Additional Evidence
SPF TXT records appear to be published fine (even if shown split in dig
output, which is valid). Example output:
dig +short TXT yourdomain
"v=spf1" "ip4:xx.xxx.xxx.xx" "a" "mx" "~all"
So the issue seems specific to DMARC-style TXT values containing semicolons.
-
Are you using another DNS service in the interum as your current DMARC records show as fine in MXTools. I'm on ALMA 8 and don't seem to have this issue. Is it listed correctly in /var/named/your-domain.db
MXTools shows:
v=DMARC1; p=quarantine; rua=mailto:dmarc@skon.gr; fo=1
-
I am a bit wary of the config editors after having a few bugs crop up like this. So I tend to edit DNS zones (rarely) in the CLI with nano.
Also note that Starburst found a bug in the Code Editor, so you may want to check out this one based on Ace Editor:
https://forum.centos-webpanel.com/i-can-build-it/cwp-custom-codeeditor-based-on-ace-editor/