Update blocky upstream dns to bootstrap better (hopefully) and forward to consul
This commit is contained in:
parent
cf2779c971
commit
2db266bda7
@ -28,6 +28,11 @@ job "blocky" {
|
|||||||
# host_network = "loopback"
|
# host_network = "loopback"
|
||||||
to = "4000"
|
to = "4000"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dns {
|
||||||
|
# Set expclicit DNS servers because tasks, by default, use this task
|
||||||
|
servers = ["1.1.1.1", "1.0.0.1"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
bootstrapDns:
|
||||||
|
ips:
|
||||||
|
- 1.1.1.1
|
||||||
|
- 1.0.0.1
|
||||||
|
|
||||||
upstream:
|
upstream:
|
||||||
default:
|
default:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
@ -18,7 +23,9 @@ upstream:
|
|||||||
- tcp-tls:dns10.quad9.net
|
- tcp-tls:dns10.quad9.net
|
||||||
|
|
||||||
conditional:
|
conditional:
|
||||||
|
fallbackUpstream: false
|
||||||
mapping:
|
mapping:
|
||||||
|
consul: {{ env "attr.unique.network.ip-address" }}:8600
|
||||||
home.arpa: 192.168.2.1
|
home.arpa: 192.168.2.1
|
||||||
in-addr.arpa: 192.168.2.1
|
in-addr.arpa: 192.168.2.1
|
||||||
iot: 192.168.2.1
|
iot: 192.168.2.1
|
||||||
@ -26,6 +33,9 @@ conditional:
|
|||||||
thefij: 192.168.2.1
|
thefij: 192.168.2.1
|
||||||
.: 192.168.2.1
|
.: 192.168.2.1
|
||||||
|
|
||||||
|
clientLookup:
|
||||||
|
upstream: 192.168.2.1
|
||||||
|
|
||||||
blocking:
|
blocking:
|
||||||
blackLists:
|
blackLists:
|
||||||
ads:
|
ads:
|
||||||
|
Loading…
Reference in New Issue
Block a user