I’m setting up multiple Consul environments:
- dev
- staging
- prod
The dev and staging environments will have a cluster each in AWS
The prod environments will have a cluster in each datacenter
They are all using the consul
domain
I am trying to workout what is the best setup for DNS resolution for my hosts…
- systemd-resolv/dnsmasq enabled and setup on all clients to forward
consul
domain tolocalhost:8600
- different domains per environment and setting up the datacenter BIND servers to be in the cluster and forward that
domain
tolocalhost:8600
… but, what if multiple environments in the same datacenter (dev/staging) - suggestions/ideas?