mirror of
https://github.com/pigmonkey/spark.git
synced 2026-08-02 12:32:25 +00:00
make nameservers configurable
I chose the defaults based on namebench results. Users in other geographical areas likely want to choose other servers.
This commit is contained in:
parent
eadf72bad7
commit
5622e90993
2 changed files with 10 additions and 3 deletions
|
|
@ -114,3 +114,8 @@ tor:
|
|||
|
||||
localtime:
|
||||
run_on: trusted
|
||||
|
||||
nameservers:
|
||||
- 8.8.8.8 # Google
|
||||
- 205.171.3.25 # Qwest
|
||||
- 74.82.42.42 # Hurricane Electric
|
||||
|
|
|
|||
|
|
@ -21,9 +21,11 @@ server:
|
|||
private-address: fd00::/8
|
||||
private-address: fe80::/10
|
||||
|
||||
{% if nameservers %}
|
||||
# Define DNS servers to forward queries to.
|
||||
forward-zone:
|
||||
name: "."
|
||||
forward-addr: 8.8.8.8 # Google
|
||||
forward-addr: 205.171.3.25 # Qwest
|
||||
forward-addr: 74.82.42.42 # Hurricane Electric
|
||||
{% for nameserver in nameservers %}
|
||||
forward-addr: {{ nameserver }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue