get de username in custom DNS

zomebodi

Verified User
Joined
Sep 3, 2023
Messages
54
echo '_dmarc="v=DMARC1; p=none; sp=none; rua=mailto:|USERNAME|@|DOMAIN|"' >> dns_txt.conf

Its posible to get the |USERNAME|
??
 
Hello,

Do you really want to publish your system usernames in DNS? I'd rather use a forwarder for it:

dmarc@|DOMAIN| -> |USERNAME|@|DOMAIN|

something like this.

If you still want to go your way, you might try inbuild PHP (yes PHP can be used in templates).

or search for possible solution in existing threads: https://www.google.com/search?q=dmarc+site:forum.directadmin.com as I am under an impression it was already discussed here.
 
Back
Top