The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Underscore in CNAME

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

Tags:
  1. Erik Ellsinger

    Erik Ellsinger Active Member

    Joined:
    Sep 25, 2015
    Messages:
    44
    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:
    37,064
    Likes Received:
    1,287
    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.
     
  3. Erik Ellsinger

    Erik Ellsinger Active Member

    Joined:
    Sep 25, 2015
    Messages:
    44
    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:
    37,064
    Likes Received:
    1,287
    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.
     
Loading...

Share This Page