srv-core, vps-ns: Enable dns based ad blocking

This commit is contained in:
SebastianStork 2026-03-04 15:15:53 +01:00
parent fc6eafab59
commit 70140d0af4
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 8 additions and 2 deletions

View file

@ -21,7 +21,10 @@
}; };
services = { services = {
recursive-nameserver.enable = true; recursive-nameserver = {
enable = true;
blockAds = true;
};
private-nameserver.enable = true; private-nameserver.enable = true;
syncthing = { syncthing = {

View file

@ -21,7 +21,10 @@
}; };
services = { services = {
recursive-nameserver.enable = true; recursive-nameserver = {
enable = true;
blockAds = true;
};
private-nameserver.enable = true; private-nameserver.enable = true;
public-nameserver = { public-nameserver = {
enable = true; enable = true;