Add default GCE hardcoded nameservers
Used only when cloud_provider=gce
This commit is contained in:
parent
8c8d978cd8
commit
562b4acbee
1 changed files with 6 additions and 4 deletions
|
@ -10,12 +10,14 @@ server=/{{ dns_domain }}/{{ skydns_server }}
|
|||
|
||||
#Set upstream dns servers
|
||||
{% if upstream_dns_servers is defined %}
|
||||
{% for srv in upstream_dns_servers %}
|
||||
{% for srv in upstream_dns_servers %}
|
||||
server={{ srv }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% elif cloud_provider == "gce" %}
|
||||
server=169.254.169.254
|
||||
{% else %}
|
||||
server=8.8.8.8
|
||||
server=8.8.4.4
|
||||
server=8.8.8.8
|
||||
server=8.8.4.4
|
||||
{% endif %}
|
||||
|
||||
bogus-priv
|
||||
|
|
Loading…
Reference in a new issue