Found issue with reverse zone file

Discussion in 'Installation/Configuration' started by glapolla, Dec 12, 2009.

  1. glapolla

    glapolla New Member

    I am currently deploying ispconfig on our servers. We have a /22 subnet. When I try to add a PTR record with a 0 in the last octet I get the following error:

    ERROR

    1. The name is empty.

    Is there a work around for this ?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Code:
    'validators'	=> array ( 	0 => array (	'type'	=> 'NOTEMPTY',
    														'errmsg'=> 'name_error_empty'),
    										1 => array (	'type'	=> 'REGEX',
    														'regex' => '/^[\w\.\-]{1,64}$/',
    														'errmsg'=> 'name_error_regex'),
    									),

    to:

    Code:
    'validators'	=> array ( 	0 => array (	'type'	=> 'REGEX',
    														'regex' => '/^[\w\.\-]{1,64}$/',
    														'errmsg'=> 'name_error_regex'),
    									),
    in /usr/local/ispconfig/interface/web/dns/form/dns_ptr.tform.php

    I've added this to the bugtracker.
     

Share This Page