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:
2025-07-06 18:49:23 +10:00
parent 2814a55df6
commit 554d24a0cd
8 changed files with 63 additions and 15 deletions
-1
View File
@@ -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 %>.