Route all DNS traffic to my own DNS servers

This commit is contained in:
SebastianStork 2026-02-03 23:06:00 +01:00
parent 100f02a2d8
commit 56c7b22bf1
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -108,7 +108,10 @@ in
matchConfig.Name = netCfg.overlay.interface;
address = [ netCfg.overlay.cidr ];
dns = netCfg.overlay.dnsServers;
domains = [ netCfg.overlay.domain ];
domains = [
netCfg.overlay.domain
"~." # Route all DNS traffic to this interface first
];
};
};
}