Problem setting up google DNS verification

Discussion in 'General' started by hyzerfool, Feb 12, 2013.

  1. hyzerfool

    hyzerfool New Member

    I'm trying to setup google DNS verification using ispconfig 3. It tells me to setup a CNAME with the hostname of this form:
    XXXXXXXXXXXX

    and (this is the issue) the target:
    gv-2SDGMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXPGNCNIQTJ2SZIKSDA.domainverify.googlehosted.com.

    Obviously I've replaced some details with the X's, but the length of the target hostname is correct. When I enter it, ispconfig tells me:

    "Target hostname format invalid"

    I tried shortening the target hostname by removing some of the long string of letters and ispconfig accepted that, suggesting that the problem is simply one of length.

    Does anyone have any idea what I can do to make it accept the full target hostname?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
     
  3. hyzerfool

    hyzerfool New Member

    It's version 3.0.4.6
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Change line 103 of the file /usr/local/ispconfig/interface/web/dns/form/dns_cname.tform.php from:

    'regex' => '/^[\w\.\-]{1,64}$/',

    to:

    'regex' => '/^[\w\.\-]{1,255}$/',

    This has been changed already in ispconfig 3.0.5 RC 1.
     
  5. hyzerfool

    hyzerfool New Member

    That seems to have done the trick. Thanks very much for the quick help!
     

Share This Page