Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 11th November 2010, 12:06
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default

Today is the day when Russian-language domain names have finally become open for registration for everybody, not just govenmental structures, trademark owners etc, so from now on these names' support will be very important for all users of ISPConfig in Russia.

As for 2.2.37 - now it truly supports adding a site with a such a name (thank you very much for this - I checked, and it worked), but sadly it doesn't work on the DNS side of things. So, if I try to add a DNS record and put such a name in SOA - I get "invalid domain name".

Is there a way to quick-fix it myself? I'm asking because I get literally dozens of requests for such domain names from my clients.

Thank you!
Reply With Quote
Sponsored Links
  #12  
Old 12th November 2010, 13:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I think you need to change the regular expression in /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_dns.lib.php, e.g. in line 284:

Code:
        if (!preg_match("/^([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $soa["dns_soa"])) {
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
dimas (13th November 2010)
  #13  
Old 13th November 2010, 11:32
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default

Dear falko, you practically saved me by giving me the right clue!

In fact, I changed the mentioned line to:

if (!preg_match("/^([a-z0-9\-]+\.)+[a-z0-9\-]{2,8}$/ix", $soa["dns_soa"])) {

- and I had to do in three other places in this file and also several times in "ptr" and "slave" dns libraries. I hope it's OK.

Anyway, I can now assert that everything works - a number of such sites and DNS records are already successfully running on my servers.

Is there a hope that these changes will make it to the future versions of ISPConfig 2 and ISPConfig 3 (which I haven't tried yet)?
Reply With Quote
The Following User Says Thank You to dimas For This Useful Post:
falko (14th November 2010)
  #14  
Old 14th November 2010, 19:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I've added this to our bugtracker.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 22nd March 2011, 17:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

I've just fixed this in SVN.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 12:47
ISPConfig 2.2.35 | Error: The domain belongs to another client Hans General 8 5th March 2010 12:44
Capabilites of bind DNS networkguru00 General 31 19th June 2009 06:50
E-mail domain not working with ISPConfig fdsg72-lux Installation/Configuration 6 14th November 2008 02:57
Can't access login enter ispconfig web ftp domain hostname Dekalb Installation/Configuration 1 3rd June 2007 13:22


All times are GMT +2. The time now is 01:55.


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