openshift-cluster.zone 659 B

1234567891011121314
  1. $TTL 1d
  2. @ IN SOA {{ ansible_hostname }} openshift (
  3. {{ ansible_date_time.epoch }} ; Serial (To be fixed before 2039)
  4. 12h ; Refresh
  5. 3m ; Retry
  6. 4w ; Expire
  7. 3h ; TTL for negative replies
  8. )
  9. IN NS {{ ansible_hostname }}
  10. {{ ansible_hostname }} IN A {{ ansible_default_ipv4.address }}
  11. {% for host in dns_all_hosts %}
  12. {{ hostvars[host].ansible_hostname }} IN A {{ hostvars[host]['ansible_default_ipv4'].address }}
  13. {% endfor %}