Update blocky config to v0.22 schema

This commit is contained in:
IamTheFij 2023-11-30 14:00:27 -08:00
parent eb25138675
commit 1b49f015c5

View File

@ -6,24 +6,25 @@ bootstrapDns:
- upstream: 1.1.1.1 - upstream: 1.1.1.1
- upstream: 1.0.0.1 - upstream: 1.0.0.1
upstream: upstreams:
default: groups:
- 1.1.1.1 default:
- 1.0.0.1 - 1.1.1.1
quad9: - 1.0.0.1
- 9.9.9.9 quad9:
- 149.112.112.112 - 9.9.9.9
- 2620:fe::fe - 149.112.112.112
- 2620:fe::9 - 2620:fe::fe
- https://dns.quad9.net/dns-query - 2620:fe::9
- tcp-tls:dns.quad9.net - https://dns.quad9.net/dns-query
quad9-unsecured: - tcp-tls:dns.quad9.net
- 9.9.9.10 quad9-unsecured:
- 149.112.112.10 - 9.9.9.10
- 2620:fe::10 - 149.112.112.10
- 2620:fe::fe:10 - 2620:fe::10
- https://dns10.quad9.net/dns-query - 2620:fe::fe:10
- tcp-tls:dns10.quad9.net - https://dns10.quad9.net/dns-query
- tcp-tls:dns10.quad9.net
conditional: conditional:
fallbackUpstream: false fallbackUpstream: false
@ -36,9 +37,11 @@ conditional:
.: 192.168.2.1 .: 192.168.2.1
hostsFile: hostsFile:
filePath: {{ env "NOMAD_TASK_DIR" }}/nomad.hosts sources:
- {{ env "NOMAD_TASK_DIR" }}/nomad.hosts
hostsTTL: 30s hostsTTL: 30s
refreshPeriod: 30s loading:
refreshPeriod: 30s
clientLookup: clientLookup:
upstream: 192.168.2.1 upstream: 192.168.2.1