build-coord: copy the baremetal-builders DNS64 config

This commit is contained in:
Pierre Bourdon 2024-08-16 09:33:48 +02:00
parent d3e053809c
commit 6881351f23
Signed by: delroth
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -71,4 +71,17 @@
{ address = "2a01:584:11::1:11"; prefixLength = 64; }
];
networking.defaultGateway6 = { interface = "uplink"; address = "2a01:584:11::1"; };
services.coredns = {
enable = true;
config = ''
. {
bind lo
forward . 2001:4860:4860::6464
template ANY A { rcode NOERROR }
}
'';
};
services.resolved.enable = false;
networking.resolvconf.useLocalResolver = true;
}