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!

Underscore in CNAME

Discussion in 'Bind/DNS/Nameserver' started by Erik Ellsinger, Jun 26, 2017.

Tags:
  1. Erik Ellsinger

    Erik Ellsinger Well-Known Member

    Joined:
    Sep 25, 2015
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    The new DNS-editor doesn't allow me to use _ in CNAME:s. When I try to use a _ in the field called Record I get this message:

    The domain segment must only contain the following characters: a-z, A-Z, 0-9, and -

    So the error message needs to be changed also because I'm pretty sure you should be allowed to use _ in CNAME:s.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,853
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Upon testing, I see that underscores are allowed in the CNAME record itself, but not in the domain field. To clarify, are you seeking to setup a CNAME record for an entry such as "subdomain_123" in the domain field for the new CNAME record? If so, would you also provide some information about the purpose of this record so I can add it to an internal case if necessary?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Erik Ellsinger

    Erik Ellsinger Well-Known Member

    Joined:
    Sep 25, 2015
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    Seems like this has already been fixed, case CPANEL-13262.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,853
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, that case was included with cPanel 64.0.27:

    Fixed case CPANEL-13262: Allow underscores in CNAME records.

    Can you confirm you are using an earlier build when encountering this issue?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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