hackens(dns): fix lan resolution
This commit is contained in:
parent
d63f6d8689
commit
348d33493b
2 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
# Activez moi si vous comprenez pas ce qui se passe
|
||||
# et consultez le journalctl de dnscrypt-proxy2.
|
||||
debugDNS = false;
|
||||
in
|
||||
{
|
||||
networking = {
|
||||
nameservers = [ "127.0.0.1" "::1" ];
|
||||
|
@ -12,6 +17,10 @@
|
|||
|
||||
forwarding_rules = ./dns/forwarding.txt;
|
||||
|
||||
query_log = if debugDNS then {
|
||||
file = "/dev/stdout";
|
||||
} else {};
|
||||
|
||||
sources.public-resolvers = {
|
||||
urls = [
|
||||
"https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# Résolution hackENS locale
|
||||
# e.g. hackens-milieu.lan
|
||||
.lan 192.168.1.1
|
||||
lan 192.168.1.1
|
||||
|
|
Loading…
Reference in a new issue