2024-09-19 14:32:54 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.bind = {
|
|
|
|
enable = true;
|
2024-09-20 15:10:06 +00:00
|
|
|
cacheNetworks = [
|
|
|
|
"127.0.0.0/24"
|
|
|
|
"::1/128"
|
|
|
|
"localhost"
|
|
|
|
"localnets"
|
|
|
|
];
|
2024-09-19 14:32:54 +00:00
|
|
|
|
|
|
|
zones = {
|
|
|
|
"encryptionin.space" = {
|
|
|
|
name = "encryptionin.space";
|
|
|
|
master = false;
|
|
|
|
file = "db.encryptionin.space";
|
|
|
|
masters = [ "92.51.163.43" ];
|
|
|
|
};
|
|
|
|
"queerscriptors.org" = {
|
|
|
|
name = "queerscriptors.org";
|
|
|
|
master = false;
|
|
|
|
file = "db.queerscriptors.org";
|
|
|
|
masters = [ "92.51.163.43" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
|
|
|
}
|