Fix formatting on CoreDNS configuration

This commit is contained in:
James Eversole 2023-09-11 18:25:27 -05:00
parent 4900472247
commit 006e96421c

View File

@ -4,84 +4,84 @@
# https://coredns.io/manual/configuration/ # https://coredns.io/manual/configuration/
# https://github.com/coredns/coredns.io/blob/master/content/manual/configuration.md # https://github.com/coredns/coredns.io/blob/master/content/manual/configuration.md
coredns.config = '' coredns.config = ''
matri.cx { matri.cx {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.130" answer "{{ .Name }} 0 IN A 192.168.0.130"
} }
} }
mail.matri.cx { mail.matri.cx {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 149.28.112.101" answer "{{ .Name }} 0 IN A 149.28.112.101"
} }
} }
mc.caitlynncox.com { mc.caitlynncox.com {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.131" answer "{{ .Name }} 0 IN A 192.168.0.131"
} }
} }
*.matri.cx { *.matri.cx {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.130" answer "{{ .Name }} 0 IN A 192.168.0.130"
} }
} }
eversole.co { eversole.co {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.130" answer "{{ .Name }} 0 IN A 192.168.0.130"
} }
} }
box.eversole.co { box.eversole.co {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 149.28.112.101" answer "{{ .Name }} 0 IN A 149.28.112.101"
} }
} }
*.eversole.co { *.eversole.co {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.130" 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 forward . 9.9.9.9 149.112.112.112 84.200.69.80 84.200.70.40
cache cache
} }
# Stop unblocking these sites. Seriously. # Stop unblocking these sites. Seriously.
reddit.com { reddit.com {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1" answer "{{ .Name }} 0 IN A 127.0.0.1"
} }
} }
*.reddit.com { *.reddit.com {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1" answer "{{ .Name }} 0 IN A 127.0.0.1"
} }
} }
lobste.rs { lobste.rs {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1" answer "{{ .Name }} 0 IN A 127.0.0.1"
} }
} }
ycombinator.com { ycombinator.com {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1" answer "{{ .Name }} 0 IN A 127.0.0.1"
} }
} }
*.ycombinator.com { *.ycombinator.com {
template IN A { template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1" answer "{{ .Name }} 0 IN A 127.0.0.1"
} }
} }
''; '';
}; };
} }