Interview Prep/Networking/DNS resolution failures

Internal names resolve on the office network but return public IPs (or NXDOMAIN) over the VPN.

IntermediateTroubleshootingDNS resolution failures
Answer

Likely causes → VPN clients use public DNS instead of the internal resolver, so they get the external view of a split-horizon zone.

Diagnose →

scutil --dns            # macOS
resolvectl status       # Linux
nslookup intranet.example.com

Fix → Push the internal DNS server and search domains in the VPN profile (push "dhcp-option DNS 10.0.0.2" in OpenVPN; DNS = in WireGuard config).

Prevent → Include DNS checks in the VPN onboarding checklist.

All Networking questions Roadmap: Networking for DevOps

More on DNS resolution failures