dns.cgi: Display when unbound is running in recursor mode.

Message ID 20200121172713.2976-1-stefan.schantl@ipfire.org
State Accepted
Commit 4a791d2ab924129ff3dacc1bd47da4533badc33a
Headers
Series dns.cgi: Display when unbound is running in recursor mode. |

Commit Message

Stefan Schantl Jan. 21, 2020, 5:27 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 html/cgi-bin/dns.cgi   | 2 +-
 langs/en/cgi-bin/en.pl | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
  

Comments

Peter Müller Jan. 21, 2020, 6:31 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
>  html/cgi-bin/dns.cgi   | 2 +-
>  langs/en/cgi-bin/en.pl | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi
> index 11415cdf8..d4278d8b9 100755
> --- a/html/cgi-bin/dns.cgi
> +++ b/html/cgi-bin/dns.cgi
> @@ -711,7 +711,7 @@ print <<END;
>  		<table width="100%">
>  			<tr>
>  				<td colspan="6" align="center">
> -					<br>$Lang::tr{'guardian no entries'}<br>
> +					<br>$Lang::tr{'dns recursor mode'}<br>
>  				</td>
>  			</tr>
>  
> diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
> index cec76c8db..f9a3381e7 100644
> --- a/langs/en/cgi-bin/en.pl
> +++ b/langs/en/cgi-bin/en.pl
> @@ -862,6 +862,7 @@
>  'dns no address given' => 'No IP Address given.',
>  'dns no tls hostname given' => 'No TLS hostname given.',
>  'dns proxy server' => 'DNS Proxy Server',
> +'dns recursor mode' => 'Running in Recursor mode.',
>  'dns saved' => 'Successfully saved!',
>  'dns saved txt' => 'The two entered DNS server addresses have been saved successfully.<br />You have to reboot or reconnect that the changes have effect!',
>  'dns server' => 'DNS Server',
>
  

Patch

diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi
index 11415cdf8..d4278d8b9 100755
--- a/html/cgi-bin/dns.cgi
+++ b/html/cgi-bin/dns.cgi
@@ -711,7 +711,7 @@  print <<END;
 		<table width="100%">
 			<tr>
 				<td colspan="6" align="center">
-					<br>$Lang::tr{'guardian no entries'}<br>
+					<br>$Lang::tr{'dns recursor mode'}<br>
 				</td>
 			</tr>
 
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
index cec76c8db..f9a3381e7 100644
--- a/langs/en/cgi-bin/en.pl
+++ b/langs/en/cgi-bin/en.pl
@@ -862,6 +862,7 @@ 
 'dns no address given' => 'No IP Address given.',
 'dns no tls hostname given' => 'No TLS hostname given.',
 'dns proxy server' => 'DNS Proxy Server',
+'dns recursor mode' => 'Running in Recursor mode.',
 'dns saved' => 'Successfully saved!',
 'dns saved txt' => 'The two entered DNS server addresses have been saved successfully.<br />You have to reboot or reconnect that the changes have effect!',
 'dns server' => 'DNS Server',