3
0
Fork 0
forked from mirrors/nixpkgs

dnscrypt-proxy module: minor config example tweaks

- Indentation
- unbound automatically handles local forward addresses
This commit is contained in:
Joachim Fasting 2016-10-24 02:31:10 +02:00
parent d198e474a8
commit 420cf50838
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -49,8 +49,8 @@
<para>
<programlisting>
{
services.dnsmasq.enable = true;
services.dnsmasq.servers = [ "127.0.0.1#43" ];
services.dnsmasq.enable = true;
services.dnsmasq.servers = [ "127.0.0.1#43" ];
}
</programlisting>
</para>
@ -60,12 +60,9 @@
<para>
<programlisting>
{
networking.nameservers = [ "127.0.0.1" ];
services.unbound.enable = true;
services.unbound.forwardAddresses = [ "127.0.0.1@43" ];
services.unbound.extraConfig = ''
do-not-query-localhost: no
'';
networking.nameservers = [ "127.0.0.1" ];
services.unbound.enable = true;
services.unbound.forwardAddresses = [ "127.0.0.1@43" ];
}
</programlisting>
</para>