wireguard: fix DNS search domains

This commit is contained in:
Rouven Seifert 2024-04-18 19:49:10 +02:00
parent a1afdcbdd0
commit ee02192290
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 11 additions and 2 deletions

View file

@ -90,7 +90,11 @@
networkConfig = {
Address = "192.168.43.4/32";
DNS = "192.168.43.1";
Domains = "~vpn.rfive.de ~43.168.192.in-addr.arpa";
Domains = [
"~vpn.rfive.de"
"~42.168.192.in-addr.arpa"
"~43.168.192.in-addr.arpa"
];
DNSSEC = false;
BindCarrier = [ "ens3" ];
};

View file

@ -25,6 +25,7 @@
nmap
curlFull
wireguard-tools
etherape
];
services.timesyncd.servers = lib.mkForce [ ];
services.resolved = {
@ -165,7 +166,11 @@
networkConfig = {
Address = "192.168.43.3/32";
DNS = "192.168.43.1";
Domains = "~vpn.rfive.de ~43.168.192.in-addr.arpa";
Domains = [
"~vpn.rfive.de"
"~42.168.192.in-addr.arpa"
"~43.168.192.in-addr.arpa"
];
DNSSEC = false;
};
};