mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
wireguard: fix DNS search domains
This commit is contained in:
parent
a1afdcbdd0
commit
ee02192290
|
@ -90,7 +90,11 @@
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "192.168.43.4/32";
|
Address = "192.168.43.4/32";
|
||||||
DNS = "192.168.43.1";
|
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;
|
DNSSEC = false;
|
||||||
BindCarrier = [ "ens3" ];
|
BindCarrier = [ "ens3" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
nmap
|
nmap
|
||||||
curlFull
|
curlFull
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
|
etherape
|
||||||
];
|
];
|
||||||
services.timesyncd.servers = lib.mkForce [ ];
|
services.timesyncd.servers = lib.mkForce [ ];
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
|
@ -165,7 +166,11 @@
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "192.168.43.3/32";
|
Address = "192.168.43.3/32";
|
||||||
DNS = "192.168.43.1";
|
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;
|
DNSSEC = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue