infrastructure/ansible/roles/consul/templates/resolv.conf.j2
Alex Auvolat 351e6f13d5 Network configuration:
- Remove nomad interface (unused)
- Deactivate systemd-resolved
- Add dns_server to production nodes variables
- Add recursors option to Consul so that it can resolve outside DNS
  queries
- Use consul as a global DNS server for machines and containers, with
  the outside DNS as a fallback (see roles/consul/templates/resolv.conf.j2)
2020-06-30 17:31:35 +02:00

2 lines
56 B
Django/Jinja

nameserver {{ private_ip }}
nameserver {{ dns_server }}