2 Commits

3 changed files with 1 additions and 15 deletions

View File

@ -113,7 +113,7 @@ tls_dns_name = "cloudflare-dns.com"
[dns.resolver.google] [dns.resolver.google]
display_name = "Google" display_name = "Google"
info_url = "https://www.cloudflare.com/dns/" info_url = "https://developers.google.com/speed/public-dns/docs/using"
aliases = ["goo","8888"] aliases = ["goo","8888"]
weight = 440 weight = 440

View File

@ -31,12 +31,6 @@
<dd>{{ helper::dig(extra=extra, name=c.tls_dns_name) }}</dd> <dd>{{ helper::dig(extra=extra, name=c.tls_dns_name) }}</dd>
{%- endif %} {%- endif %}
{%- if c.search | length > 0 %}
<dt>Search</dt>
{%- for s in c.search %}
<dd>{{s}}</dd>
{%- endfor %}
{%- endif %}
</dl> </dl>
{%- if c.info_url %} {%- if c.info_url %}
<p class="button-paragraph"><a href="{{c.info_url}}">More about the {{c.display_name}} DNS Server <small>(external link)</small></a></p> <p class="button-paragraph"><a href="{{c.info_url}}">More about the {{c.display_name}} DNS Server <small>(external link)</small></a></p>

View File

@ -16,14 +16,6 @@ Protocol: {{ c.protocol }}
{%-if c.tls_dns_name %} {%-if c.tls_dns_name %}
DNS Name: {{ c.tls_dns_name }} DNS Name: {{ c.tls_dns_name }}
{%- endif %} {%- 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 %} {%- if c.aliases | length == 1 %}
Alias: {{ c.aliases | first }} Alias: {{ c.aliases | first }}
{%- elif c.aliases | length > 1 %} {%- elif c.aliases | length > 1 %}