Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

[Case 12834] package DNS restore vs contact email address

Discussion in 'Bind/DNS/Nameserver' started by tylerl, Sep 17, 2011.

  1. tylerl

    tylerl Active Member

    Dec 11, 2009
    Likes Received:
    Trophy Points:
    If the server contact email address (set in basic setup) has a + sign in it (e.g. [email protected]), then DNS zone file will not be properly translated during a package restore operation.

    Instead, the plus sign in the email address (as inserted into the SOA record) creates a syntax error in the newly-created zone file. This crashes the perl script building the new zone file, leaving the file empty except for the comment in the first line.

    The solution would be to either disallow addresses with a "+" sign from being used in an SOA record, or to strip the sign and everything between it and the "@" sign from the address before encoding it into the SOA record.

    The nature of "+" signs in email addresses as process by most mail servers is that the sign and everything following it are ignored by the server when looking up the associated account, so <[email protected]> and <[email protected]> will both be delivered to the mailbox <[email protected]>, though every other part of the delivery chain behaves as if they were all separate addresses.

    Bear in mind that all of the following characters are all permissible in an email address, but are not allowed in a domain name (and therefore not an SOA record).

     ! # $ % & ' * + - / = ? ^ _ ` { | } ~  
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    We have an internal case opened about this issue already, case 12834. This involves both . and + in an email address not being escaped and causing an issue in the DNS zone file.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice