HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Problem setting up google DNS verification (http://www.howtoforge.com/forums/showthread.php?t=60535)

hyzerfool 12th February 2013 17:02

Problem setting up google DNS verification
 
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-2SDGMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXPGNCNIQTJ2SZIKS DA.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?

till 12th February 2013 17:30

Which ISPConfig version do you use?

hyzerfool 12th February 2013 18:22

It's version 3.0.4.6

till 12th February 2013 18:26

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.

hyzerfool 12th February 2013 18:35

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


All times are GMT +2. The time now is 06:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.