mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
networking: Only use overlay dns for overlay domain
This commit is contained in:
parent
69658f9c0f
commit
54433591bf
1 changed files with 1 additions and 4 deletions
|
|
@ -126,10 +126,7 @@ in
|
|||
matchConfig.Name = netCfg.overlay.interface;
|
||||
address = [ netCfg.overlay.cidr ];
|
||||
dns = netCfg.overlay.dnsServers;
|
||||
domains = [
|
||||
netCfg.overlay.domain
|
||||
"~." # Route all DNS traffic to this interface first
|
||||
];
|
||||
domains = [ netCfg.overlay.domain ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue