# -*- mode: conf -*-

# Fastmail
@              {{ ttl }} IN MX 10 in1-smtp.messagingengine.com.
@              {{ ttl }} IN MX 20 in2-smtp.messagingengine.com.
fm1._domainkey {{ ttl }} IN CNAME fm1.tirefireind.us.dkim.fmhosted.com.
fm2._domainkey {{ ttl }} IN CNAME fm2.tirefireind.us.dkim.fmhosted.com.
fm3._domainkey {{ ttl }} IN CNAME fm3.tirefireind.us.dkim.fmhosted.com.

@ {{ ttl }} IN TXT "v=spf1 include:spf.messagingengine.com ?all"

# Core records
{% for link in local.public_v4s %}
@           {{ ttl }} IN A {{ link }}
www         {{ ttl }} IN A {{ link }}
registry    {{ ttl }} IN A {{ link }}
mirror      {{ ttl }} IN A {{ link }}
buildcache  {{ ttl }} IN A {{ link }}
tentacles   {{ ttl }} IN A {{ link }}
ton         {{ ttl }} IN A {{ link }}
relay       {{ ttl }} IN A {{ link }}
pxe         {{ ttl }} IN A {{ link }}
vpn         {{ ttl }} IN A {{ link }}
hass        {{ ttl }} IN A {{ link }}
k8s         {{ ttl }} IN A {{ link }}
git         {{ ttl }} IN A {{ link }}
sso         {{ ttl }} IN A {{ link }}
{% endfor %}

# Secrets service
ssvc                       {{ ttl }} IN A 10.0.0.22

# Host records
## The hand-rolled hosts
feed.host.dia0.site        {{ ttl }} IN A 10.0.0.5
sucker.host.dia0.site      {{ ttl }} IN A 10.0.0.16
chisel.host.dia0.site      {{ ttl }} IN A 10.0.0.20
heiroglyph.host.dia0.site  {{ ttl }} IN A 10.0.0.22
gamis-nikag.host.dia0.site {{ ttl }} IN A 10.0.0.27
