[SOLVED] DNS Issues - Windows

OpenVPN tutorials ranging from configuration to hacks to compilation will be posted here.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
mrRobot
OpenVpn Newbie
Posts: 4
Joined: Sat Dec 09, 2017 7:51 pm

[SOLVED] DNS Issues - Windows

Post by mrRobot » Sat Dec 09, 2017 7:56 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: DNS Issues - Windows

Post by TinCanTech » Sat Dec 09, 2017 8:38 pm

Is the laptop Windows ?

mrRobot
OpenVpn Newbie
Posts: 4
Joined: Sat Dec 09, 2017 7:51 pm

Re: DNS Issues - Windows

Post by mrRobot » Sat Dec 09, 2017 8:41 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: DNS Issues - Windows

Post by TinCanTech » Sat Dec 09, 2017 10:11 pm

See --block-outside-dns in The Manual v24x

mrRobot
OpenVpn Newbie
Posts: 4
Joined: Sat Dec 09, 2017 7:51 pm

Re: DNS Issues - Windows

Post by mrRobot » Mon Dec 11, 2017 4:22 pm

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

mrRobot
OpenVpn Newbie
Posts: 4
Joined: Sat Dec 09, 2017 7:51 pm

Re: DNS Issues - Windows

Post by mrRobot » Mon Dec 11, 2017 4:30 pm

[SOLVED]

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: DNS Issues - Windows

Post by TinCanTech » Mon Dec 11, 2017 5:51 pm

Good stuff :mrgreen: 8-)

Locked