GL-MT3000 - WireGuard and DNS Search not working

Hi!

I am running 10+ WireGuard clients connected to my WireGuard server here at home. All clients work 100% fine.

I just decided to get a GL-MT3000 and I cannot configure the DNS option for WireGuard to get DNS search space to work.

It doesn't accept me putting in kalle.nu after the DNS server. Like this DNS = 192.168.2.2, kalle.nu into the form/template. I cannot push "Apply" - I guess it is a "syntax check" the prohibits me.

Me being frugal I SSH´d into the box and edited the /etc/config/wireguard file.
I edited the DNS line like this:
option dns '192.168.2.2, kalle.nu'

To bypass the syntax check in the GUI and restarted. That did not help - at all. I cannot see any errors in any logs but the VPN isnt working.

Like I said, this works 100% okay for all my other WireGuard Clients ive setup. I can access all my local resources via hostname like plex (plex.kalle.nu) without having to type in the hole FQDN (plex.kalle.nu as an example).

Here is my client config for WireGuard from a "100% fully working Wireguard client".

[Interface]
Address = 172.16.17.10/32
PrivateKey = supersecret=
DNS = 192.168.2.2, kalle.nu
MTU = 1420

[Peer]
AllowedIPs = 0.0.0.0/1, 128.0.0.0/1
Endpoint = my.supersecret.vpn:51820
PersistentKeepalive = 25
PublicKey = supersecret=

Am I missing something?

Thanks :slight_smile:

I solved my issue. :slight_smile:

1 Like