23 lines
342 B
Nix
23 lines
342 B
Nix
{...}: {
|
|
services.coredns = {
|
|
enable = true;
|
|
config = ''
|
|
homelab.local {
|
|
file ${./db.homelab.local}
|
|
log
|
|
errors
|
|
cache
|
|
}
|
|
|
|
. {
|
|
forward . 8.8.8.8
|
|
forward . 84.200.69.80
|
|
forward . 84.200.70.40
|
|
log
|
|
errors
|
|
cache
|
|
}
|
|
'';
|
|
};
|
|
}
|