nixberry: adjust adguardhome

This commit is contained in:
Christoph Hollizeck 2025-11-22 16:32:57 +01:00
parent 87dab6d253
commit 4bc28ee13d
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -116,15 +116,24 @@ in
ratelimit = 0; ratelimit = 0;
bind_hosts = [ "0.0.0.0" ]; bind_hosts = [ "0.0.0.0" ];
upstream_dns = [ upstream_dns = [
"1.1.1.1" "tls://unfiltered.adguard-dns.com"
"1.0.0.1" "https://unfiltered.adguard-dns.com/dns-query"
"8.8.8.8" "tls://dns.quad9.net"
"8.8.4.4" "https://dns.quad9.net/dns-query"
"tls://security.cloudflare-dns.com"
"https://security.cloudflare-dns.com/dns-query"
]; ];
upstream_mode = "parallel";
}; };
filtering = { filtering = {
protection_enabled = true; protection_enabled = true;
filtering_enabled = true; filtering_enabled = true;
rewrites = [
{
domain = "nixberry";
answer = "192.168.178.2";
}
];
}; };
filters = filters =
@ -147,6 +156,20 @@ in
enabled = true; enabled = true;
interval = "8760h"; interval = "8760h";
}; };
clients = {
persistent = [
{
name = "yggdrasil";
ids = [ "192.168.178.51" ];
tags = [
"device_pc"
"os_linux"
];
uid = "019aac26-684c-7c2c-a43d-2253f4407d45";
}
];
};
}; };
}; };