quitte: use unbound
This commit is contained in:
parent
1833aeb84d
commit
36b8f77764
2 changed files with 18 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
||||||
./modules/matrix
|
./modules/matrix
|
||||||
./modules/keycloak
|
./modules/keycloak
|
||||||
./modules/monitoring
|
./modules/monitoring
|
||||||
|
./modules/unbound
|
||||||
|
|
||||||
./modules/nix-serve.nix
|
./modules/nix-serve.nix
|
||||||
./modules/hedgedoc.nix
|
./modules/hedgedoc.nix
|
||||||
|
|
17
modules/unbound/default.nix
Normal file
17
modules/unbound/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.unbound = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
interface = [ "127.0.0.1" ];
|
||||||
|
access-control = [ "127.0.0.1 allow" ];
|
||||||
|
};
|
||||||
|
stub-zone = [
|
||||||
|
{
|
||||||
|
name = ".";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue