diff --git a/interface/web/dns/form/dns_alias.tform.php b/interface/web/dns/form/dns_alias.tform.php index defcda08532e74039423b745b743d41d83642819..55833b7ec73f4136980d335b55db4a7f65ec9dca 100644 --- a/interface/web/dns/form/dns_alias.tform.php +++ b/interface/web/dns/form/dns_alias.tform.php @@ -88,7 +88,7 @@ $form["tabs"]['dns'] = array ( 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'name_error_empty'), 1 => array ( 'type' => 'REGEX', - 'regex' => '/^[a-zA-Z0-9\.\-]{1,255}$/', + 'regex' => '/^[a-zA-Z0-9\.\-\_]{1,255}$/', 'errmsg'=> 'name_error_regex'), ), 'default' => '',