acme-dns
acme-dns copied to clipboard
NsAdmin Email Substitution
Just curious about the automatic substitution. Why is this being done?
# admin email address, where @ is substituted with .
nsadmin = "contact.example.com"
This will be transformed to [email protected]
.
What about the valid addresses that have a .
before the @
symbol?
Wouldn't firstname.lastname.example.com
be translated to [email protected]
, when it should be [email protected]
?
Cheers! This is because of the format of the SOA record.
That said, you just identified a lack of documentation for that comment. The actual dots in the e-mail address (except for the TLD) should be escaped with \
, so [email protected]
should become firstname\.lastname.example.com
.
I think the comment should be fixed. Do you want to create a PR, or should I?
Thanks for the quick explanation! I'll leave the update to you.