Split-horizon DNS for a small home lab
Inside, names resolve to private addresses; outside, to the public one.
Hairpin NAT works until it does not. A resolver with per-network views avoids the problem entirely.
| Client | nas.example.net resolves to |
|---|---|
| Home LAN | 192.168.1.20 |
| VPN | 10.8.0.20 |
| Internet | public address |