Commit 38eda126 authored by nanahira's avatar nanahira

update https dns for smartdns

parent 0c3cce25
...@@ -34,7 +34,7 @@ server-tls {{dns}} -group tls ...@@ -34,7 +34,7 @@ server-tls {{dns}} -group tls
{% if smartdns.https_dns is defined and smartdns.https_dns %} {% if smartdns.https_dns is defined and smartdns.https_dns %}
# HTTPS DNSes # HTTPS DNSes
{% for dns in smartdns.https_dns %} {% for dns in smartdns.https_dns %}
server-https {{dns}} -group tls server-https https://{{dns}}/dns-query -group tls
{% endfor %} {% endfor %}
{% endif %} {% endif %}
...@@ -48,5 +48,10 @@ server {{dns}} -group china -exclude-default-group ...@@ -48,5 +48,10 @@ server {{dns}} -group china -exclude-default-group
nameserver /{{domain}}/china nameserver /{{domain}}/china
{% endfor %} {% endfor %}
# Query HTTPS DNS domains by China DNS
{% for dns in smartdns.https_dns %}
nameserver /{{dns}}/china
{% endfor %}
# china list # china list
conf-file /etc/smartdns/china-list.conf conf-file /etc/smartdns/china-list.conf
...@@ -70,8 +70,8 @@ vars: ...@@ -70,8 +70,8 @@ vars:
- 8.8.8.8 - 8.8.8.8
- 1.1.1.1 - 1.1.1.1
https_dns: https_dns:
- https://cloudflare-dns.com/dns-query - cloudflare-dns.com
- https://dns.quad9.net/dns-query - dns.quad9.net
china_dns: china_dns:
- 114.114.114.114 - 114.114.114.114
- 223.5.5.5 - 223.5.5.5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment