View Single Post
  #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