services/unbound: fix local access-control and state path
This commit is contained in:
parent
59a48fc8bb
commit
dc88ab4fdb
1 changed files with 6 additions and 1 deletions
|
|
@ -23,10 +23,15 @@ in {
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
interface = [ "0.0.0.0" ];
|
interface = [ "0.0.0.0" ];
|
||||||
access-control = [ "192.168.100.0/24 allow" ];
|
access-control = [
|
||||||
|
"127.0.0.1/8 allow"
|
||||||
|
"192.168.100.0/24 allow"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
include = "${inputs.hosts-blocklists}/unbound/unbound.blacklist.conf";
|
include = "${inputs.hosts-blocklists}/unbound/unbound.blacklist.conf";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.unbound.serviceConfig.ReadWritePaths = [ dir ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue