HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   DNS for one letter domain names (http://www.howtoforge.com/forums/showthread.php?t=62235)

Name.ly 15th June 2013 15:49

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.

till 25th June 2013 12:18

I've added it to the bugtracker.

RoseinAires 4th September 2013 07:23

There is some problems with the DNS.


All times are GMT +2. The time now is 12:59.

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