dnscrypt-proxy module: minor config example tweaks
- Indentation - unbound automatically handles local forward addresses
This commit is contained in:
parent
d198e474a8
commit
420cf50838
@ -49,8 +49,8 @@
|
|||||||
<para>
|
<para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
{
|
{
|
||||||
services.dnsmasq.enable = true;
|
services.dnsmasq.enable = true;
|
||||||
services.dnsmasq.servers = [ "127.0.0.1#43" ];
|
services.dnsmasq.servers = [ "127.0.0.1#43" ];
|
||||||
}
|
}
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
@ -60,12 +60,9 @@
|
|||||||
<para>
|
<para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
{
|
{
|
||||||
networking.nameservers = [ "127.0.0.1" ];
|
networking.nameservers = [ "127.0.0.1" ];
|
||||||
services.unbound.enable = true;
|
services.unbound.enable = true;
|
||||||
services.unbound.forwardAddresses = [ "127.0.0.1@43" ];
|
services.unbound.forwardAddresses = [ "127.0.0.1@43" ];
|
||||||
services.unbound.extraConfig = ''
|
|
||||||
do-not-query-localhost: no
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user