Named service start fails with errors like:
dns_rdata_fromtext: DOMAIN.TLD.:1: near 'mailname.net.aâu.': bad name (check-names) zone DOMAIN.TLD/IN: loading from master file DOMAIN.TLD. failed: bad name (check-names) _default/DOMAIN.TLD./IN: bad name (check-names)
The issue is caused by unprintable character in the "mail address" filed of DNS zone setting: 'Services > DNS Zones > DOMAIN.TLD > DNS > Zone Settings > Mailbox of the person responsible for this zone'
If you submit the information entered in the form, it will illuminate the email field with red. Further, if you copy the mail field content and paste it in the notepad, it will show the place where unprintable character stands. It will be replaced with a question mark ("?").
To fix the issue:
- Log in to PPA Control Panel, go to 'Services > DNS Zones > DOMAIN.TLD > DNS > Zone Settings' (use the name of the domain from the error named returns when attempt to start is performed).
- Press 'Edit' button and copy the value from the 'Mailbox of the person responsible for this zone' field to a notepad.
- The mailbox will have unexpected character like "mailname.net.aâu". Remove this character, copy it to the 'Mailbox of the person responsible for this zone' field and submit the changes.
- If named start failed due to multiple domains repeat the actions above for all of them.
- Start named service