mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +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;
|
matchConfig.Name = netCfg.overlay.interface;
|
||||||
address = [ netCfg.overlay.cidr ];
|
address = [ netCfg.overlay.cidr ];
|
||||||
dns = netCfg.overlay.dnsServers;
|
dns = netCfg.overlay.dnsServers;
|
||||||
domains = [
|
domains = [ netCfg.overlay.domain ];
|
||||||
netCfg.overlay.domain
|
|
||||||
"~." # Route all DNS traffic to this interface first
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue