acme-dns icon indicating copy to clipboard operation
acme-dns copied to clipboard

NsAdmin Email Substitution

Open Elte156 opened this issue 5 years ago • 2 comments

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]?

Elte156 avatar Jan 11 '20 17:01 Elte156

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?

joohoi avatar Jan 11 '20 17:01 joohoi

Thanks for the quick explanation! I'll leave the update to you.

Elte156 avatar Jan 11 '20 17:01 Elte156