Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 15th June 2013, 14:49
Name.ly Name.ly is offline
Junior Member
 
Join Date: Jun 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation DNS for one letter domain names

On our Name.ly/PRO open registry, we are hosting domain names like b.ag and have encountered the issue:

Quote:
ERROR
Zone has a invalid format.
This was quickly patched in the following two files:
  • dns_slave.tform.php
  • dns_soa.tform.php

PHP Code:
...
            
'validators'    => array (     => array (    'type'    => 'NOTEMPTY',
                                                        
'errmsg'=> 'origin_error_empty'),
                                        
/*
                                        1 => array (    'type'    => 'UNIQUE',
                                                        'errmsg'=> 'origin_error_unique'),
                                        */
                                        
=> array (    'type'    => 'REGEX',
                                                        
'regex' => '/^[\w\.\-\/]{2,255}\.[a-zA-Z0-9\-]{2,10}[\.]{0,1}$/',
                                                        
'errmsg'=> 'origin_error_regex'),
                                    ),
... 
2,255 should be replaced with 1,255 in the regex.

Please add it to the following release. Thank you.
Reply With Quote
Sponsored Links
 

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
BIND in Chroot (CentOS 6.2) DNS ~ Domain Problem GR33N Installation/Configuration 3 20th March 2012 14:26
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 10:56
Default domain page without creating Domain or DNS on server. pawan General 4 27th April 2011 20:15
Postfix not forwarding for some domains flappy Installation/Configuration 3 21st November 2010 17:57
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49


All times are GMT +2. The time now is 18:25.


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