WireGuard is not resolving my domain

Hello, I have a GL-MT1300 with the latest firmware version.

I'm trying to setup a WireGuard client, the config of the client works perfectly on multiple devices other than my GL-MT1300. But I can't make it works, I have mainly these errors:

'/tmp/run/wg_resolved_ip': No such file or directory
Name does not resolve: `mydomain:51820'
wgclient (8632): Configuration parsing error

I have tried to change DNS to Cloudfare, create the wg_resolved_ip script my self. Nothing is working. Can you help me ?

Is your domain working?
Check it using https://dnschecker.org/

yes its working perfectly. All green on DNSChecker.org

What DNS server do you use on your router?
Did you enable that all traffic except VPN is blocked?