# DNS is not resolving from VPN (Wireguard and OpenVPN) on Slate AX GL-AXT1800

**URL:** <https://forum.gl-inet.com/t/dns-is-not-resolving-from-vpn-wireguard-and-openvpn-on-slate-ax-gl-axt1800/45573>\
**Category:** VPN, DNS, Leaks\
**Tags:** KB\
**Created:** [August 4, 2024, 12:55pm UTC](https://forum.gl-inet.com/t/dns-is-not-resolving-from-vpn-wireguard-and-openvpn-on-slate-ax-gl-axt1800/45573 "2024-08-04T12:55:55Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [August 12, 2024, 4:25pm UTC](https://forum.gl-inet.com/t/dns-is-not-resolving-from-vpn-wireguard-and-openvpn-on-slate-ax-gl-axt1800/45573/18 "2024-08-12T16:25:24Z")

</div>

Sorry I missed a part setting of VPN dnsmasq:  
The updated full command is:

```auto
# set dnsmasq
uci set dhcp.@dnsmasq[0].local='/lan_chgd/'
uci commit dhcp

# restart dnsmasq
/etc/init.d/dnsmasq restart

# set VPN dnsmasq
sed -i 's/local=\/lan/local=\/lan_chgd/' /etc/dnsmasq.conf.vpn

# restart vpn dnsmasq
. /usr/bin/route_policy
handle_dns

```

---

_[View the full topic](https://forum.gl-inet.com/t/dns-is-not-resolving-from-vpn-wireguard-and-openvpn-on-slate-ax-gl-axt1800/45573)._
