define vpn container hosts within containers too
This commit is contained in:
@@ -42,6 +42,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
networking.hosts = cfg.containerHosts;
|
||||
|
||||
# DNS through VPN container (queries go through WG tunnel = no DNS leak)
|
||||
networking.nameservers = [ cfg.vpnAddress ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user