ops/nixos/lib/coredns: add DNS records

This commit is contained in:
Luke Granger-Brown 2021-03-29 20:45:39 +00:00
parent b360944686
commit e1e3a24f36
3 changed files with 17 additions and 6 deletions

View file

@ -3,6 +3,10 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 1 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 2 600 450 3600 300
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR gw.public.as205479.net.
e.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR blade-tuvok.public.as205479.net.
f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 3600 IN PTR blade-paris.public.as205479.net.

View file

@ -3,12 +3,12 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 1 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 2 600 450 3600 300
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
0 600 IN PTR 92-118-28-0.ptr.as205479.net. 0 600 IN PTR 92-118-28-0.ptr.as205479.net.
1 600 IN PTR 92-118-28-1.ptr.as205479.net. 1 600 IN PTR gw.public.as205479.net.
2 600 IN PTR 92-118-28-2.ptr.as205479.net. 2 600 IN PTR 92-118-28-2.ptr.as205479.net.
3 600 IN PTR 92-118-28-3.ptr.as205479.net. 3 600 IN PTR 92-118-28-3.ptr.as205479.net.
4 600 IN PTR 92-118-28-4.ptr.as205479.net. 4 600 IN PTR 92-118-28-4.ptr.as205479.net.
@ -260,6 +260,6 @@ $INCLUDE tmpl.ns
250 600 IN PTR 92-118-28-250.ptr.as205479.net. 250 600 IN PTR 92-118-28-250.ptr.as205479.net.
251 600 IN PTR 92-118-28-251.ptr.as205479.net. 251 600 IN PTR 92-118-28-251.ptr.as205479.net.
252 600 IN PTR 92-118-28-252.ptr.as205479.net. 252 600 IN PTR 92-118-28-252.ptr.as205479.net.
253 600 IN PTR 92-118-28-253.ptr.as205479.net. 253 600 IN PTR blade-tuvok.public.as205479.net.
254 600 IN PTR 92-118-28-254.ptr.as205479.net. 254 600 IN PTR blade-paris.public.as205479.net.
255 600 IN PTR 92-118-28-255.ptr.as205479.net. 255 600 IN PTR 92-118-28-255.ptr.as205479.net.

View file

@ -3,7 +3,7 @@
; SPDX-License-Identifier: Apache-2.0 ; SPDX-License-Identifier: Apache-2.0
; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL ; MNAME RNAME SERIAL REFRESH RETRY EXPIRE TTL
@ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 8 600 450 3600 300 @ 600 IN SOA frantech-lux01.as205479.net. hostmaster.lukegb.com. 9 600 450 3600 300
; NB: this are also glue records in Google Domains. ; NB: this are also glue records in Google Domains.
$INCLUDE tmpl.ns $INCLUDE tmpl.ns
@ -103,6 +103,13 @@ _ceph-mon._tcp.storage.blade 60 IN SRV 10 10 6789 blade-tuvok.storage.blade.a
_ceph-mon._tcp.storage.blade 60 IN SRV 10 10 6789 blade-janeway.storage.blade.as205479.net. _ceph-mon._tcp.storage.blade 60 IN SRV 10 10 6789 blade-janeway.storage.blade.as205479.net.
_ceph-mon._tcp.storage.blade 60 IN SRV 10 10 6789 blade-paris.storage.blade.as205479.net. _ceph-mon._tcp.storage.blade 60 IN SRV 10 10 6789 blade-paris.storage.blade.as205479.net.
; public
gw.public 3600 IN A 92.118.28.1
gw.public 3600 IN AAAA 2a09:a441::
blade-tuvok.public 3600 IN A 92.118.28.253
blade-tuvok.public 3600 IN AAAA 2a09:a441::fffe
blade-paris.public 3600 IN A 92.118.28.254
blade-paris.public 3600 IN AAAA 2a09:a441::ffff
92-118-28-0.ptr 6000 IN A 92.118.28.0 92-118-28-0.ptr 6000 IN A 92.118.28.0
92-118-28-1.ptr 6000 IN A 92.118.28.1 92-118-28-1.ptr 6000 IN A 92.118.28.1