[GH-ISSUE #208] NsAdmin Email Substitution #94

Open
opened 2026-03-13 15:45:54 +03:00 by kerem · 2 comments
Owner

Originally created by @Elte156 on GitHub (Jan 11, 2020).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/208

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 contact@example.com.
What about the valid addresses that have a . before the @ symbol?

Wouldn't firstname.lastname.example.com be translated to firstname@lastname.example.com, when it should be firstname.lastname@example.com?

Originally created by @Elte156 on GitHub (Jan 11, 2020). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/208 Just curious about the automatic substitution. Why is this being done? ```bash # admin email address, where @ is substituted with . nsadmin = "contact.example.com" ``` This will be transformed to `contact@example.com`. What about the valid addresses that have a `.` before the `@` symbol? Wouldn't `firstname.lastname.example.com` be translated to `firstname@lastname.example.com`, when it should be `firstname.lastname@example.com`?
Author
Owner

@joohoi commented on GitHub (Jan 11, 2020):

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 firstname.lastname@example.com should become firstname\.lastname.example.com.

I think the comment should be fixed. Do you want to create a PR, or should I?

<!-- gh-comment-id:573338441 --> @joohoi commented on GitHub (Jan 11, 2020): Cheers! This is because of the format of the [SOA record](https://en.wikipedia.org/wiki/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 `firstname.lastname@example.com` should become `firstname\.lastname.example.com`. I think the comment should be fixed. Do you want to create a PR, or should I?
Author
Owner

@Elte156 commented on GitHub (Jan 11, 2020):

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

<!-- gh-comment-id:573339085 --> @Elte156 commented on GitHub (Jan 11, 2020): Thanks for the quick explanation! I'll leave the update to you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/acme-dns#94
No description provided.