forked from the-distro/infra
build-coord: copy the baremetal-builders DNS64 config
This commit is contained in:
parent
d3e053809c
commit
6881351f23
|
@ -71,4 +71,17 @@
|
||||||
{ address = "2a01:584:11::1:11"; prefixLength = 64; }
|
{ address = "2a01:584:11::1:11"; prefixLength = 64; }
|
||||||
];
|
];
|
||||||
networking.defaultGateway6 = { interface = "uplink"; address = "2a01:584:11::1"; };
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue