From 03e466de35d450853b5f7f8b82b24b64dd9f20fd Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Wed, 8 Jan 2020 12:58:50 +0100 Subject: [PATCH] dns.cgi: Do not perform kdig tests when adding a server Signed-off-by: Stefan Schantl --- html/cgi-bin/dns.cgi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi index 4498a71a3e..3a10faf184 100755 --- a/html/cgi-bin/dns.cgi +++ b/html/cgi-bin/dns.cgi @@ -117,16 +117,6 @@ if (($cgiparams{'SERVERS'} eq $Lang::tr{'save'}) || ($cgiparams{'SERVERS'} eq $L } } - # Check the nameserver. - my $status = &check_nameserver("$cgiparams{'NAMESERVER'}", "ping.ipfire.org", "$settings{'PROTO'}", "$cgiparams{'TLS_HOSTNAME'}"); - - # Assign errormessage, if the nameserver does not support dnssec or any other kind of error happened. - if ($status eq "0") { - $errormessage = "$Lang::tr{'dns could not add server'} $Lang::tr{'dnssec not supported'}"; - } elsif (($status ne "1") && ($status ne "2")) { - $errormessage = "$Lang::tr{'dns could not add server'} $status"; - } - # Go further if there was no error. if ( ! $errormessage) { # Check if a remark has been entered. -- 2.39.2