Skip to content
Contents
GuidesOpenWrt

The downloaded WireGuard configuration lacks DNS despite a correct preview and QR code

The preview, QR code, and downloaded files from the same configuration might originate from different export paths. First, identify where the DNS field disappears, then determine whether to adjust the router or the client.

Applies to · OpenWrt 25.12.5 · luci-app-wireguard

What to check

Use a test peer to add DNS via the plus sign on the generated page, compare the current preview, offline DNS resolution result from the QR code, and the Interface section of the downloaded file.

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

wg show interfaces

How to interpret the result

Compare locally the Interface section of three configurations. If only the downloaded file lacks DNS, investigate the export process. If all three have DNS and the server remains unchanged after import, verify whether the client supports and applies the DNS field.

Verify and recover

Compare the DNS entries in all three exports, then import the file into a test client and make a real query through the intended resolver. Keep the old profile for rollback.

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

Explore hardware

Comments