Jump to content

Blocky: Difference between revisions

Added upstream groups as it was added to the original project. See their doc https://0xerr0r.github.io/blocky/v0.23/configuration/#upstream-groups
imported>Honnip
m (Link to GitHub repo in the project name)
(Added upstream groups as it was added to the original project. See their doc https://0xerr0r.github.io/blocky/v0.23/configuration/#upstream-groups)
Line 4: Line 4:


== Configuration Examples ==
== Configuration Examples ==
<syntaxHighlight lang=nix>
<syntaxhighlight lang="nix">
services.blocky = {
services.blocky = {
     enable = true;
     enable = true;
     settings = {
     settings = {
       port = 53; # Port for incoming DNS Queries.
       port = 53; # Port for incoming DNS Queries.
       upstream.default = [
       upstreams.groups.default = [ # You can define as many upstream groups as you want.
         "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries.
         "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries.
       ];
       ];
Line 33: Line 33:
     };
     };
   };
   };
</syntaxHighlight>
</syntaxhighlight>




2

edits