From e1e3a24f368d613d49e6a4acc0756be83e2bd891 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 29 Mar 2021 20:45:39 +0000 Subject: [PATCH] ops/nixos/lib/coredns: add DNS records --- ops/nixos/lib/coredns/zones/db.1.4.4.a.9.0.a.2.ip6.arpa | 6 +++++- ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa | 8 ++++---- ops/nixos/lib/coredns/zones/db.as205479.net | 9 ++++++++- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/ops/nixos/lib/coredns/zones/db.1.4.4.a.9.0.a.2.ip6.arpa b/ops/nixos/lib/coredns/zones/db.1.4.4.a.9.0.a.2.ip6.arpa index 12d6173ccc..c6ff84665a 100644 --- a/ops/nixos/lib/coredns/zones/db.1.4.4.a.9.0.a.2.ip6.arpa +++ b/ops/nixos/lib/coredns/zones/db.1.4.4.a.9.0.a.2.ip6.arpa @@ -3,6 +3,10 @@ ; SPDX-License-Identifier: Apache-2.0 ; 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 + +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. diff --git a/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa b/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa index 2637323909..8a6c29ccbb 100644 --- a/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa +++ b/ops/nixos/lib/coredns/zones/db.28.118.92.in-addr.arpa @@ -3,12 +3,12 @@ ; SPDX-License-Identifier: Apache-2.0 ; 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 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. 3 600 IN PTR 92-118-28-3.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. 251 600 IN PTR 92-118-28-251.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. -254 600 IN PTR 92-118-28-254.ptr.as205479.net. +253 600 IN PTR blade-tuvok.public.as205479.net. +254 600 IN PTR blade-paris.public.as205479.net. 255 600 IN PTR 92-118-28-255.ptr.as205479.net. diff --git a/ops/nixos/lib/coredns/zones/db.as205479.net b/ops/nixos/lib/coredns/zones/db.as205479.net index 35b750594f..4f09e97c84 100644 --- a/ops/nixos/lib/coredns/zones/db.as205479.net +++ b/ops/nixos/lib/coredns/zones/db.as205479.net @@ -3,7 +3,7 @@ ; SPDX-License-Identifier: Apache-2.0 ; 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. $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-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-1.ptr 6000 IN A 92.118.28.1