allow defined non-existing entry for SRV target-value for real now, i guess

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-20 16:21:55 +02:00
parent be373e278f
commit 7ea1de2a92

View File

@@ -159,7 +159,7 @@ if ($action == 'add_record' && ! empty($_POST)) {
$target = substr($target, 0, - 1);
}
}
if (! validateDomain($target)) {
if ($target != '.' && ! validateDomain($target)) {
$errors[] = $lng['error']['dns_srv_needdom'];
} else {
// check whether there is a CNAME-record for the same resource