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:
@@ -159,7 +159,7 @@ if ($action == 'add_record' && ! empty($_POST)) {
|
|||||||
$target = substr($target, 0, - 1);
|
$target = substr($target, 0, - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (! validateDomain($target)) {
|
if ($target != '.' && ! validateDomain($target)) {
|
||||||
$errors[] = $lng['error']['dns_srv_needdom'];
|
$errors[] = $lng['error']['dns_srv_needdom'];
|
||||||
} else {
|
} else {
|
||||||
// check whether there is a CNAME-record for the same resource
|
// check whether there is a CNAME-record for the same resource
|
||||||
|
|||||||
Reference in New Issue
Block a user