Unbound: Difference between revisions
Denperidge (talk | contribs) Initial Commit: added example configuration |
Denperidge (talk | contribs) Added {{expansion}} |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Expansion}} | |||
== Example configuration == | == Example configuration == | ||
<syntaxhighlight lang="nixos"> | <syntaxhighlight lang="nixos"> | ||
Line 5: | Line 7: | ||
settings = { | settings = { | ||
server = { | server = { | ||
# When only using Unbound as DNS, | # When only using Unbound as DNS, make sure to replace 127.0.0.1 with your ip address | ||
# When using Unbound in combination with pi-hole or Adguard, point | # When using Unbound in combination with pi-hole or Adguard, leave 127.0.0.1, and point Adguard to 127.0.0.1:PORT | ||
interface = [ "127.0.0.1" ]; | interface = [ "127.0.0.1" ]; | ||
port = 5335; | port = 5335; | ||
Line 35: | Line 37: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Applications]] | |||
[[Category:Networking]] | |||
[[Category:Server]] |