Force VPN to use a DNS server and a domain search

Hi everybody,
I've searched through the forum but I didn't found a solution regarding my problem.
I retrieve internet connection from WAN then I use a wifi network for the clients like my pc and all the connection are under VPN.
The problem is that from WAN port I retrieve internet but the DNS name server and domain search are blocked. But if I set the DNS nameserver on my pc the DNS manually I can navigate correctly, if not I can navigate only through IP.

This is my configuration:


https://openwrt.org/docs/guide-user/services/vpn/openvpn/extras#dns_and_domain

Thank you for your answer @vgaetera :slight_smile:
but I just solve the problem in an other way, simply force lan to use nameserver in this section (last option in the screenshot)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.