feat: per-datacentre consul dns

- change forwarding for consul to be per-datacentre to local consul
- change domain from service.consul -> consul so query.consul can be resolved
This commit is contained in:
2024-05-04 16:27:32 +10:00
parent 7dc2daf48f
commit 51bd1796ad
3 changed files with 17 additions and 9 deletions
@@ -42,3 +42,11 @@ profiles::dns::resolver::zones:
- 198.18.17.23
- 198.18.17.24
forward: 'only'
consul-forward:
domain: 'consul'
zone_type: 'forward'
forwarders:
- 198.18.17.34
- 198.18.17.35
- 198.18.17.36
forward: 'only'
@@ -42,3 +42,11 @@ profiles::dns::resolver::zones:
- 198.18.13.14
- 198.18.13.15
forward: 'only'
consul-forward:
domain: 'consul'
zone_type: 'forward'
forwarders:
- 198.18.13.19
- 198.18.13.20
- 198.18.13.21
forward: 'only'
+1 -9
View File
@@ -61,14 +61,6 @@ profiles::dns::resolver::zones:
- 10.10.16.32
- 10.10.16.33
forward: 'only'
service.consul-forward:
domain: 'service.consul'
zone_type: 'forward'
forwarders:
- 198.18.13.19
- 198.18.13.20
- 198.18.13.21
forward: 'only'
profiles::dns::resolver::views:
openforwarder:
@@ -79,7 +71,7 @@ profiles::dns::resolver::views:
- dmz.unkin.net-forward
- network.unkin.net-forward
- prod.unkin.net-forward
- service.consul-forward
- consul-forward
- 13.18.198.in-addr.arpa-forward
- 14.18.198.in-addr.arpa-forward
- 15.18.198.in-addr.arpa-forward