Commit 38eda126 authored by nanahira's avatar nanahira

update https dns for smartdns

parent 0c3cce25
......@@ -34,7 +34,7 @@ server-tls {{dns}} -group tls
{% if smartdns.https_dns is defined and smartdns.https_dns %}
# HTTPS DNSes
{% for dns in smartdns.https_dns %}
server-https {{dns}} -group tls
server-https https://{{dns}}/dns-query -group tls
{% endfor %}
{% endif %}
......@@ -48,5 +48,10 @@ server {{dns}} -group china -exclude-default-group
nameserver /{{domain}}/china
{% endfor %}
# Query HTTPS DNS domains by China DNS
{% for dns in smartdns.https_dns %}
nameserver /{{dns}}/china
{% endfor %}
# china list
conf-file /etc/smartdns/china-list.conf
......@@ -70,8 +70,8 @@ vars:
- 8.8.8.8
- 1.1.1.1
https_dns:
- https://cloudflare-dns.com/dns-query
- https://dns.quad9.net/dns-query
- cloudflare-dns.com
- dns.quad9.net
china_dns:
- 114.114.114.114
- 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