DNS problem

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
isenhand
OpenVpn Newbie
Posts: 1
Joined: Tue Jan 29, 2019 8:02 am

DNS problem

Post by isenhand » Tue Jan 29, 2019 8:18 am

When running an OpenVPN server I lose DNS on the server machine. If I run a client on the server and connect to the server, I still have no DNS.

From what I can find out (I've googled the problem) I am supposed to have (and therefore do have) the following lines in the server config file:


Part Server Config

push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"


From what I read, that should push all DNS traffic via the OpneVPN server, but I still have DNS problems.

I can ping both DNS servers when the OpneVPN server is running. I have also tried 8.8.8.8 and 8.8.4.4 with the same result.

This is running on win10 machine. I'm also using port 443, which is opened on the server via the windows firewall and I'm using port forwarding on the router.

So, how to fix this problem? Something I missed or misunderstood? Thanks.

Post Reply