diff -r 41353c2e0c9f -r 391e744a1def add_zone_slave.php --- a/add_zone_slave.php Sun May 18 07:56:11 2008 +0000 +++ b/add_zone_slave.php Sun May 18 11:51:59 2008 +0000 @@ -34,7 +34,7 @@ (verify_permission('zone_slave_add')) ? $zone_slave_add = "1" : $zone_slave_add = "0" ; if ($_POST['submit'] && $zone_slave_add == "1") { - if (!is_valid_domain($zone)) { + if (!is_valid_hostname_fqdn($zone)) { error(ERR_DNS_HOSTNAME); } elseif (domain_exists($zone)) { error(ERR_DOMAIN_EXISTS);