Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nextgen-router
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
nextgen-router
Commits
38eda126
Commit
38eda126
authored
Dec 13, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update https dns for smartdns
parent
0c3cce25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
files/dnsmasq/smartdns.conf.j2
files/dnsmasq/smartdns.conf.j2
+6
-1
variables.yaml
variables.yaml
+2
-2
No files found.
files/dnsmasq/smartdns.conf.j2
View file @
38eda126
...
...
@@ -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
variables.yaml
View file @
38eda126
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment