From 006e96421c100237ef39d04248f6b3ffe557fb25 Mon Sep 17 00:00:00 2001 From: James Eversole Date: Mon, 11 Sep 2023 18:25:27 -0500 Subject: [PATCH] Fix formatting on CoreDNS configuration --- nix/system/dns.nix | 130 ++++++++++++++++++++++----------------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/nix/system/dns.nix b/nix/system/dns.nix index 0d8f337..6be27e4 100644 --- a/nix/system/dns.nix +++ b/nix/system/dns.nix @@ -4,84 +4,84 @@ # https://coredns.io/manual/configuration/ # https://github.com/coredns/coredns.io/blob/master/content/manual/configuration.md coredns.config = '' - matri.cx { - template IN A { - answer "{{ .Name }} 0 IN A 192.168.0.130" - } - } + matri.cx { + template IN A { + answer "{{ .Name }} 0 IN A 192.168.0.130" + } + } - mail.matri.cx { - template IN A { - answer "{{ .Name }} 0 IN A 149.28.112.101" - } - } + mail.matri.cx { + template IN A { + answer "{{ .Name }} 0 IN A 149.28.112.101" + } + } - mc.caitlynncox.com { - template IN A { - answer "{{ .Name }} 0 IN A 192.168.0.131" - } - } + mc.caitlynncox.com { + template IN A { + answer "{{ .Name }} 0 IN A 192.168.0.131" + } + } - *.matri.cx { - template IN A { - answer "{{ .Name }} 0 IN A 192.168.0.130" - } - } + *.matri.cx { + template IN A { + answer "{{ .Name }} 0 IN A 192.168.0.130" + } + } - eversole.co { - template IN A { - answer "{{ .Name }} 0 IN A 192.168.0.130" - } - } + eversole.co { + template IN A { + answer "{{ .Name }} 0 IN A 192.168.0.130" + } + } - box.eversole.co { - template IN A { - answer "{{ .Name }} 0 IN A 149.28.112.101" - } - } + box.eversole.co { + template IN A { + answer "{{ .Name }} 0 IN A 149.28.112.101" + } + } - *.eversole.co { - template IN A { - answer "{{ .Name }} 0 IN A 192.168.0.130" - } - } + *.eversole.co { + template IN A { + answer "{{ .Name }} 0 IN A 192.168.0.130" + } + } - . { - forward . 9.9.9.9 149.112.112.112 84.200.69.80 84.200.70.40 - cache - } + . { + forward . 9.9.9.9 149.112.112.112 84.200.69.80 84.200.70.40 + cache + } - # Stop unblocking these sites. Seriously. - reddit.com { - template IN A { - answer "{{ .Name }} 0 IN A 127.0.0.1" - } - } + # Stop unblocking these sites. Seriously. + reddit.com { + template IN A { + answer "{{ .Name }} 0 IN A 127.0.0.1" + } + } - *.reddit.com { - template IN A { - answer "{{ .Name }} 0 IN A 127.0.0.1" - } - } + *.reddit.com { + template IN A { + answer "{{ .Name }} 0 IN A 127.0.0.1" + } + } - lobste.rs { - template IN A { - answer "{{ .Name }} 0 IN A 127.0.0.1" - } - } + lobste.rs { + template IN A { + answer "{{ .Name }} 0 IN A 127.0.0.1" + } + } - ycombinator.com { - template IN A { - answer "{{ .Name }} 0 IN A 127.0.0.1" - } - } + ycombinator.com { + template IN A { + answer "{{ .Name }} 0 IN A 127.0.0.1" + } + } - *.ycombinator.com { - template IN A { - answer "{{ .Name }} 0 IN A 127.0.0.1" - } - } + *.ycombinator.com { + template IN A { + answer "{{ .Name }} 0 IN A 127.0.0.1" + } + } ''; }; }