Use dnsmasq to resolve loopback
This commit is contained in:
parent
d564a94aa7
commit
5433a0285f
|
@ -19,7 +19,7 @@ in {
|
|||
matchConfig.Name = "eth0";
|
||||
address = [ "192.168.13.2/24" ];
|
||||
gateway = [ "192.168.13.1" ];
|
||||
dns = [ "51.158.108.203" "137.220.55.93" ];
|
||||
dns = [ "192.168.13.2" ];
|
||||
networkConfig.DNSSEC = "no";
|
||||
};
|
||||
|
||||
|
@ -102,7 +102,7 @@ in {
|
|||
# DNS server with ad-block
|
||||
services.dnsmasq = {
|
||||
enable = true;
|
||||
servers = config.systemd.network.networks."24-home".dns;
|
||||
servers = [ "51.158.108.203" "137.220.55.93" ];
|
||||
extraConfig = ''
|
||||
domain-needed
|
||||
bogus-priv
|
||||
|
|
Loading…
Reference in New Issue