DNS for one letter domain names

Discussion in 'Developers' Forum' started by Name.ly, Jun 15, 2013.

  1. Name.ly

    Name.ly New Member

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

    This was quickly patched in the following two files:

    • dns_slave.tform.php
    • dns_soa.tform.php

    PHP:
    ...
                
    '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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I've added it to the bugtracker.
     
  3. RoseinAires

    RoseinAires New Member

    There is some problems with the DNS.
     

Share This Page