Split DNS is super complicated to implement client side. We halfway implemented a solution and backtracked, eventually settling on just setting /etc/hosts. There's way too many variables involved across all the different operating systems.
These days it's pretty simple to achieve with systemd-resolved. I've been playing with split DNS and VPNs for a while and it seems it's a solved problem on Linux, finally.
The big hurdle is understanding the concept of search domain vs routing domain and the interaction with resolved and NetworkManager.
Funny, systemd is like an opposite of wireguard in design goal. I believe the UNIX way would be /etc/hosts but some way to sync these within clients. Like etcd or whatever.
sph|3 years ago
The big hurdle is understanding the concept of search domain vs routing domain and the interaction with resolved and NetworkManager.
Fnoord|3 years ago
afeiszli|3 years ago