Skip to content

DNS & VPN Performance Issues

DNS resolution fast on LAN, extremely slow over WireGuard VPN.

Wrong Configuration:

DC pointing to each other as primary DNS
+ Root Hints enabled alongside Forwarders
= Circular dependencies causing delays

Correct Configuration:

Terminal window
# Each DC points to itself
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 127.0.0.1
# Forwarders only on Forest Root DC
# Child DC has no external forwarders

Server VLAN blocked from Internet, but DNS forwarders need to reach external DNS.

Solution: Allow DNS from Forest Root DC only:

FW_ALLOW_ZRH-DC-ZRH-01_DNS_EGRESS
- Source: 10.30.30.10
- Destination: 1.1.1.1, 8.8.8.8
- Port: 53
- Position: BEFORE block rule

Root Hints enabled causing fallback delays.

Solution:

Terminal window
Get-DnsServerRootHint | Remove-DnsServerRootHint -Force
Set-DnsServerForwarder -UseRootHint $false