Move rewrites to dns, add some blocked services

This commit is contained in:
Evie Litherland-Smith 2023-10-22 09:03:51 +01:00
parent 350fa9fbf1
commit 29ed547f9c

View file

@ -12,9 +12,6 @@
bootstrap_dns = [ "9.9.9.9" "149.112.112.10" ]; bootstrap_dns = [ "9.9.9.9" "149.112.112.10" ];
ratelimit = 0; ratelimit = 0;
safe_search.enabled = true; safe_search.enabled = true;
};
filtering = {
inherit (dns) safe_search;
rewrites = [ rewrites = [
{ {
domain = "xenia.me.uk"; domain = "xenia.me.uk";
@ -25,7 +22,9 @@
answer = "A"; answer = "A";
} }
]; ];
blocked_services.ids = [ "amazon" "facebook" "twitter" ];
}; };
filtering = { inherit (dns) safe_search rewrites blocked_services; };
querylog.ignored = [ querylog.ignored = [
"discovery.syncthing.net" "discovery.syncthing.net"
"discovery-v6.syncthing.net" "discovery-v6.syncthing.net"