mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-02 18:13:13 +02:00
Use default nameservers which given by the provider instead of googles
This commit is contained in:
parent
d8f0393dd8
commit
3781383888
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@
|
|||
# You can control how dnsmasq talks to a server: this forces
|
||||
# queries to 10.1.2.3 to be routed via eth1
|
||||
# server=10.1.2.3@eth1
|
||||
{% for host in dns_servers.ipv4 %}
|
||||
{% for host in ansible_dns['nameservers']|default(dns_servers['ipv4']) %}
|
||||
server={{ host }}
|
||||
{% endfor %}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ conn %default
|
|||
{% if local_dns is defined and local_dns == "Y" %}
|
||||
rightdns={{ local_service_ip }}
|
||||
{% else %}
|
||||
rightdns={% for host in dns_servers.ipv4 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% if ipv6_support is defined and ipv6_support == "yes" %},{% for host in dns_servers.ipv6 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% endif %}
|
||||
rightdns={% for host in ansible_dns['nameservers']|default(dns_servers['ipv4']) %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
conn ikev2-pubkey
|
||||
|
|
Loading…
Add table
Reference in a new issue