From 4b3a8d5e08f3ef4165eac20cd735491d3c22532a Mon Sep 17 00:00:00 2001 From: Slatian Date: Tue, 8 Aug 2023 23:06:55 +0200 Subject: [PATCH] Fixed dns resolver information templates --- templates/dns_resolver.html | 6 ------ templates/dns_resolver.txt | 8 -------- 2 files changed, 14 deletions(-) diff --git a/templates/dns_resolver.html b/templates/dns_resolver.html index 34247c4..32b3eea 100644 --- a/templates/dns_resolver.html +++ b/templates/dns_resolver.html @@ -31,12 +31,6 @@
{{ helper::dig(extra=extra, name=c.tls_dns_name) }}
{%- endif %} - {%- if c.search | length > 0 %} -
Search
- {%- for s in c.search %} -
{{s}}
- {%- endfor %} - {%- endif %} {%- if c.info_url %}

More about the {{c.display_name}} DNS Server (external link)

diff --git a/templates/dns_resolver.txt b/templates/dns_resolver.txt index 89e653c..36d51cd 100644 --- a/templates/dns_resolver.txt +++ b/templates/dns_resolver.txt @@ -16,14 +16,6 @@ Protocol: {{ c.protocol }} {%-if c.tls_dns_name %} DNS Name: {{ c.tls_dns_name }} {%- endif %} -{%- if c.search | length == 1 %} -Search: {{ c.search | first }} -{%- elif c.search | length > 1 %} -Search: -{%- for s in c.search %} -* {{s}} -{%- endfor %} -{%- endif %} {%- if c.aliases | length == 1 %} Alias: {{ c.aliases | first }} {%- elif c.aliases | length > 1 %}