Skip to content
Contents
GuidesOpenWrt

One unresolved WireGuard peer hostname prevents the interface from starting

When WireGuard starts, it needs to resolve the domain name of the endpoint. The handling differs if a name cannot be resolved versus if the peer endpoint is offline on an already established interface.

Applies to · OpenWrt 25.12.5 · PC Engines APU2 · WireGuard

What to check

Query each configured peer domain one by one under the same DNS environment.

Connect over Ethernet and run the following commands in an SSH session on the router.

wg show interfaces
logread -e wireguard

How to interpret the result

If the interface list contains no target interface, locate the first failed interface name in the boot log and query it on the router. If the interface exists, send normal traffic to authorized peer endpoints, then compare the handshake times and bytes received on both sides.

Verify and recover

Check that reachable authorized peers can still exchange traffic while the unavailable endpoint remains offline. Isolate changes in a test profile and keep the original endpoint definition.

Related guide · How to route your home through WireGuard on OpenWrt and verify the egress IP

Explore hardware

Comments