dns.cgi: Set kdig params for timeout and retry back to default.

Message ID 20200114111402.50032-1-stefan.schantl@ipfire.org
State Accepted
Commit 3a5866ac2bc26ddbc5c51192dbc4f653b879036a
Headers
Series dns.cgi: Set kdig params for timeout and retry back to default. |

Commit Message

Stefan Schantl Jan. 14, 2020, 11:14 a.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 html/cgi-bin/dns.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer Jan. 14, 2020, 12:14 p.m. UTC | #1
Acked-by: Michael Tremer <michael.tremer@ipfire.org>

> On 14 Jan 2020, at 11:14, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> html/cgi-bin/dns.cgi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi
> index ff228422b..385c7be44 100755
> --- a/html/cgi-bin/dns.cgi
> +++ b/html/cgi-bin/dns.cgi
> @@ -847,7 +847,7 @@ sub check_nameserver($$$$) {
> 	}
> 
> 	# Default values.
> -	my @command = ("kdig", "+timeout=2", "+retry=0", "+dnssec",
> +	my @command = ("kdig", "+dnssec",
> 		"+bufsize=1232");
> 
> 	# Handle different protols.
> -- 
> 2.25.0.rc0
>
  

Patch

diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi
index ff228422b..385c7be44 100755
--- a/html/cgi-bin/dns.cgi
+++ b/html/cgi-bin/dns.cgi
@@ -847,7 +847,7 @@  sub check_nameserver($$$$) {
 	}
 
 	# Default values.
-	my @command = ("kdig", "+timeout=2", "+retry=0", "+dnssec",
+	my @command = ("kdig", "+dnssec",
 		"+bufsize=1232");
 
 	# Handle different protols.