Cannot create custom DMARC for server root?
When I try to create a custom DMARC record for my server's root domain (the one that matches my helo), I get an error:
"Error: API failure: (XID f3u7gx) The domain must be owned by a user other than "root" "
If I use the new "Email DNS Record Manager" interface in WHM, I can press the button to "Apply DMARC Policy", which results in the default cPanel "none" policy being written as a DMARC record in the same domain:
v=DMARC1; p=none;
I can delete that record. And recreate it by pressing the button again.
But I can't customize it or create my own new DMARC record.
How do I edit the server's DMARC?
Do I have to do it manually on the command line, or?
Any advice?
-
Hey there! I believe my reply in the other thread took care of this issue as well. The only workaround at this point would be to edit the zone on the command line.
0 -
Thanks. I think I found another workaround for this one. If you delete the DMARC record in your server's DNS Zone via WHM, then you may be able to create a DMARC record via cPanel for the parent domain. And then you can customize that DMARC record like any other via cPanel's DNS Zone Editor, adding a subdomain policy that matches the parent domain if desired.
So, if my server hostname is [sub.example.tld], then I can create a domain in cPanel for the parent domain [example.tld]. Then if I delete the default DMARC record via WHM for [sub.example.tld], I can add a custom DMARC via cPanel for the parent [example.tld] that will cover the case of [sub.example.tld] as well.
In my case, I had already created the parent domain in cPanel for a different reason, so it was easy enough to just add the DMARC there instead. Obviously, some care has to be taken not to mess up the hostname DNS when fiddling with the parent domain DNS!1 -
Same issue here, if a TXT record contains DMARC code i get the same error, only way to workaround this was to manually edit the file
0
Please sign in to leave a comment.
Comments
3 comments