90 lines
2.4 KiB
Plaintext
90 lines
2.4 KiB
Plaintext
$TTL 300
|
|
@ 3600 IN SOA ns1 admin.higgsboson.tk. (
|
|
<%= serial %> ; serial
|
|
7200 ; refresh
|
|
3600 ; retry
|
|
86400 ; expire
|
|
3600) ; minimum
|
|
|
|
;; NS Records (YOU MUST CHANGE THIS)
|
|
NS ns1
|
|
NS ns2
|
|
|
|
;; MX Records
|
|
MX 10 mail
|
|
|
|
;; TXT Records
|
|
TXT "v=spf1 mx a:mail.higgsboson.tk aaaa:mail.higgsboson.tk -all"
|
|
_adsp._domainkey TXT "dkim=all\;"
|
|
default._domainkey TXT "v=DKIM1\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhqBgbSEMgdWYmBSBsNbI2opjEZSFuZiqnAzv2yxLYyXB0l1uL4tw9npNkC4w5cNehc87qhuuzADsSOJoFUQ+H3oWOnENcGKatQqRKzLxKLBWwUf+TnC21AKGHXD4eABZk3ahfYnlR7li3Wh/JSMsAxWmaikLj3uLHd/WN9eH4rwIDAQAB"
|
|
_dmarc TXT "v=DMARC1\; p=none\; adkim=r\; aspf=r\; rua=mailto:admin@higgsboson.tk\; ruf=mailto:admin@higgsboson.tk\; pct=100"
|
|
joerg._pka TXT "v=pka1\;fpr=4ABA07382AD57E6B9AA4E88DCA4106B8D7CC79FA\;uri=http://higgsboson.tk/joerg/joerg.asc"
|
|
|
|
;; SRV Records (Service locator)
|
|
_xmpp-client._tcp.muc SRV 0 5 5222 jabber
|
|
_xmpp-client._tcp SRV 0 5 5222 jabber
|
|
_xmpp-server._tcp.muc SRV 0 5 5269 jabber
|
|
_xmpp-server._tcp SRV 0 5 5269 jabber
|
|
|
|
;; CNAME Records
|
|
*.jabber CNAME jabber
|
|
anon CNAME jabber
|
|
proxy CNAME jabber
|
|
pubsub CNAME jabber
|
|
|
|
imap CNAME mail
|
|
smtp CNAME mail
|
|
|
|
muc CNAME web
|
|
|
|
archfeed CNAME arch-pkg-feed.herokuapp.com.
|
|
githubtags CNAME github-tags-feed.herokuapp.com.
|
|
reisekosten CNAME reisekosten.herokuapp.com.
|
|
|
|
;; A Records (IPv4 addresses)
|
|
<% if type == :eve -%>
|
|
* A 192.168.66.5
|
|
<% else -%>
|
|
* A 148.251.132.243
|
|
<% end -%>
|
|
|
|
dn42 A 148.251.132.243
|
|
<%= resolver.aaaa("dn42", "eve.higgsboson.tk") -%>
|
|
|
|
;; eve -->
|
|
<% eve_services = %w{@ classifier eve jabber login mail ns1 web} -%>
|
|
<% if type == :eve -%>
|
|
<% eve_services.each do |name| -%>
|
|
<%= resolver.a(name, "eve.higgsboson.tk") -%>
|
|
<% end -%>
|
|
<% else -%>
|
|
<% eve_services.each do |name| -%>
|
|
<%= name %> A 148.251.132.243
|
|
<% end -%>
|
|
<% end -%>
|
|
;; <-- eve
|
|
|
|
;; eva -->
|
|
<% eva_services = %w{eva ns2 tinc2} -%>
|
|
<% if type == :eva -%>
|
|
<% eva_services.each do |name| -%>
|
|
<%= resolver.a(name, "eva.higgsboson.tk") -%>
|
|
<% end -%>
|
|
<% else -%>
|
|
<% eva_services.each do |name| -%>
|
|
<%= name %> A 188.166.16.37
|
|
<% end -%>
|
|
<% end -%>
|
|
;; <-- eva
|
|
|
|
;; AAAA Records (IPv6 addresses)
|
|
* AAAA 2a01:4f8:210:31fd:1::5
|
|
|
|
<% eve_services.each do |name| -%>
|
|
<%= resolver.aaaa(name, "eve.higgsboson.tk") -%>
|
|
<% end -%>
|
|
|
|
<% eva_services.each do |name| -%>
|
|
<%= resolver.aaaa(name, "eva.higgsboson.tk") -%>
|
|
<% end -%>
|