puppet-prod/site/profiles/templates/dns/zone_header.erb
Ben Vincent 2d9faf578f feat: add unkin.net domain (#347)
- manage the unkin.net domain
- ensure forwarding for unkin.net
- split domain from cname list and set zone correctly
- add fafflix to cnames list for haproxy2

Reviewed-on: #347
2025-07-06 20:02:20 +10:00

24 lines
561 B
Plaintext

; Managed by Puppet, do not change manually
$ORIGIN <%= @zone %>.
$TTL 600
@ IN SOA <%= @nameservers[0] %>. hostmaster.<%= @zone %>. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
600 ) ; Negative Cache TTL
<% unless @glue_records.empty? -%>
; Glue records for nameservers
<% @glue_records.each do |fqdn, ip| -%>
<%= fqdn %> IN A <%= ip %>
<% end -%>
<% end -%>
; Name servers
<% @nameservers.each do |ns| -%>
@ IN NS <%= ns %>.
<% end %>
; Dynamically generated host records