swann: coredns shouldn't bind to 127.0.0.53 because systemd-resolved wants it

This commit is contained in:
Luke Granger-Brown 2021-12-31 23:52:57 +00:00
parent afc4834723
commit 8b3e77de1e

View file

@ -433,7 +433,7 @@ in {
enable = true;
config = ''
.:53 {
bind 192.168.1.1 92.118.30.17 192.168.10.1 127.0.0.53 2a09:a443::1 2a09:a443:1::1 2a09:a443:2::1 2a09:a443:3::1
bind 192.168.1.1 92.118.30.17 192.168.10.1 127.0.0.253 2a09:a443::1 2a09:a443:1::1 2a09:a443:2::1 2a09:a443:3::1
acl {
allow net 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 127.0.0.0/8 100.64.0.0/10 2a09:a443::/32 92.118.30.0/24
block
@ -459,7 +459,7 @@ in {
};
my.prometheus.additionalExporterPorts.coredns = 9153;
networking.resolvconf.extraConfig = ''
name_servers='127.0.0.53'
name_servers='127.0.0.253'
'';
services.prometheus.exporters.smokeping = {