Page 1 of 1

[SOLVED] DNS Issues - Windows

Posted: Sat Dec 09, 2017 7:56 pm
by mrRobot
Hi all,

Please forgive me, as I am quite new to this OpenVPN configuring. So please bear with me.

I have set up an OpenVPN on a Ubuntu 16.04 server. I have created two client scripts; one for my iPhone, the other my laptop.

I have set the config file to use OpenDNS servers. This works for my iPhone, however, my laptop continues to use my ISP DNS, despite everything else appearing to work okay. Both devices take on the new IP address of my server.

I have been using DNSLeak to determine which DNS my devices are using.

I welcome any questions to further troubleshoot.

Thank you.

Re: DNS Issues - Windows

Posted: Sat Dec 09, 2017 8:38 pm
by TinCanTech
Is the laptop Windows ?

Re: DNS Issues - Windows

Posted: Sat Dec 09, 2017 8:41 pm
by mrRobot
TinCanTech wrote:
Sat Dec 09, 2017 8:38 pm
Is the laptop Windows ?
Sorry - yes it is. I probably should have mentioned that earlier.

I have another server which is in France. I compare both of the configuration files, and it seems to work for my French server running CentOS 7, but not for my Canadian running Ubuntu.

Re: DNS Issues - Windows

Posted: Sat Dec 09, 2017 10:11 pm
by TinCanTech
See --block-outside-dns in The Manual v24x

Re: DNS Issues - Windows

Posted: Mon Dec 11, 2017 4:22 pm
by mrRobot
TinCanTech wrote:
Sat Dec 09, 2017 10:11 pm
See --block-outside-dns in The Manual v24x
Fantastic! Thank you.

Re: DNS Issues - Windows

Posted: Mon Dec 11, 2017 4:30 pm
by mrRobot
[SOLVED]

Issue has been resolved with the block-outside-dns solution.

Re: DNS Issues - Windows

Posted: Mon Dec 11, 2017 5:51 pm
by TinCanTech
Good stuff :mrgreen: 8-)