]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
dns.cgi: Do not perform kdig tests when adding a server
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 8 Jan 2020 11:58:50 +0000 (12:58 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 8 Jan 2020 11:58:50 +0000 (12:58 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/dns.cgi

index 4498a71a3eee00b9f57a03ce41e74fbed307a9f9..3a10faf184c222a9bb38a3ceab817569e8843925 100755 (executable)
@@ -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.