Skip to content

Instantly share code, notes, and snippets.

@tubalainen
Last active April 7, 2026 14:51
Show Gist options
  • Select an option

  • Save tubalainen/302ee2ff29e47f6f5e5ef723a673bc46 to your computer and use it in GitHub Desktop.

Select an option

Save tubalainen/302ee2ff29e47f6f5e5ef723a673bc46 to your computer and use it in GitHub Desktop.
Having issue that you cannot enter DNS seach space in the WireGuard manual configuration?
Yea...
WireGuard docs states you should do "DNS = <ip-to-dns-server>, dns-search-space"
Like this example:
[Interface]
Address = 172.16.xxx.10/24
ListenPort = 51920
PrivateKey = <key>
DNS = 192.168.1.1, ur.local.dns
That will not work. GL-iNet does not allow this.
Here is a work-a-round
*****************************************************
Install LuCI under "Advanced Settings"
Push "Go To LuCI"
Enter same password as for the admin page
Go to network -> DHCP and DNS
Change "Local domain" to your DNS suffix/Search Space
Scroll down and push "Save & Apply"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment