Don't use DNS from DHCP
This commit is contained in:
parent
a61dc3d12a
commit
46588a6d7e
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{ lib, pkgs, ... }: {
|
||||
networking = {
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 1234 1337 8000 8080 ];
|
||||
|
@ -7,6 +7,7 @@
|
|||
nameservers = [ "159.69.4.2#dns.caspervk.net" ];
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
dns = lib.mkForce "none";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -15,6 +16,7 @@
|
|||
dnssec = "true";
|
||||
fallbackDns = [ "159.69.4.2#dns.caspervk.net" ];
|
||||
extraConfig = ''
|
||||
DNS=159.69.4.2#dns.caspervk.net
|
||||
DNSOverTLS=yes
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue