Host server local DNS for OpenVPN client

Bufflehead

Occasional Visitor
Good morning,
I have an ASUS RT-AC86U home router running Asuswrt-Merlin 386.7. I am running an OpenVPN server, and I am connecting remotely from a Windows 10 OpenVPN client. When connected to my home network (domain name "pitfall") from my OpenVPN client, I can only access resources on my home LAN using their IP address. Naturally I prefer to access those resources (my home desktop system for example) as "pitfall.desktop" or simply "desktop".

I have found a lot of threads about related DNS issues, but none that specifically address this issue. Any help here would be much appreciated!
Thanks, Mark
 

eibgrad

Part of the Furniture
Make sure the OpenVPN server is configured to "Advertise DNS to clients". That's what pushes your home DNS server to the clients.
 

RMerlin

Asuswrt-Merlin dev
In addition to that, use the FQDN (i.e. machine.domain), not just machine, as your local resolver might not be aware of that domain.
 

Bufflehead

Occasional Visitor
Make sure the OpenVPN server is configured to "Advertise DNS to clients". That's what pushes your home DNS server to the clients.
Thank you, I have tried that, unfortunetely it is not working. Here are some relevant settings from my vpn server config:

Interface: tun
Protocol: udp
Vpn subnet: 10.8.0.0/255.255.255.0 (different from LAN subnet)
Advertise DNS to clients: yes
 

eibgrad

Part of the Furniture
Are you able to use the home DNS server for resolution at all? IOW, does the following work?

Code:
nslookup google.com 192.168.1.1

I'm assuming 192.168.1.1 is your router's LAN ip. If NOT, adjust accordingly.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top