feat: add unkin.net domain
- 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
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<%= @facts['networking']['ip'] %> <%= @fqdn %> <%= @hostname %>
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
127.0.0.1 localhost4.localdomain4 localhost4
|
||||
198.18.19.17 git.unkin.net
|
||||
|
||||
<% @additional_hosts.each do |host| -%>
|
||||
<%= host['ip'] %> <%= host['hostname'] %> <%= host['aliases'].join(' ') if host['aliases'] %>
|
||||
|
||||
@@ -8,6 +8,13 @@ $TTL 600
|
||||
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 %>.
|
||||
|
||||
Reference in New Issue
Block a user