2023-06-27 19:41:33 -05:00
|
|
|
{ config, ... }: {
|
|
|
|
services = {
|
|
|
|
coredns.enable = true;
|
2023-06-27 19:59:01 -05:00
|
|
|
# https://coredns.io/manual/configuration/
|
|
|
|
# https://github.com/coredns/coredns.io/blob/master/content/manual/configuration.md
|
2023-06-27 19:41:33 -05:00
|
|
|
coredns.config = ''
|
2023-09-11 18:25:27 -05:00
|
|
|
matri.cx {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 192.168.0.130"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
mail.matri.cx {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 149.28.112.101"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
mc.caitlynncox.com {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 192.168.0.131"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
*.matri.cx {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 192.168.0.130"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
eversole.co {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 192.168.0.130"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
box.eversole.co {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 149.28.112.101"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
*.eversole.co {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 192.168.0.130"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-09-11 18:25:27 -05:00
|
|
|
. {
|
|
|
|
forward . 9.9.9.9 149.112.112.112 84.200.69.80 84.200.70.40
|
|
|
|
cache
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
|
2023-12-21 15:59:27 -06:00
|
|
|
# Stop unblocking these sites. Seriously.
|
2023-09-11 18:25:27 -05:00
|
|
|
lobste.rs {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
|
|
|
}
|
|
|
|
}
|
2024-02-28 14:48:57 -06:00
|
|
|
|
2024-04-12 10:21:46 -05:00
|
|
|
*.ycombinator.com {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-28 14:48:57 -06:00
|
|
|
wired.com {
|
|
|
|
template IN A {
|
|
|
|
answer "{{ .Name }} 0 IN A 127.0.0.1"
|
|
|
|
}
|
|
|
|
}
|
2023-09-09 07:17:48 -05:00
|
|
|
'';
|
2023-06-27 19:41:33 -05:00
|
|
|
};
|
|
|
|
}
|