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.
[SOLVED] DNS Issues - Windows
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: DNS Issues - Windows
Is the laptop Windows ?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Dec 09, 2017 7:51 pm
Re: DNS Issues - 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.
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: DNS Issues - Windows
See --block-outside-dns in The Manual v24x
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Dec 09, 2017 7:51 pm
Re: DNS Issues - Windows
Fantastic! Thank you.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Sat Dec 09, 2017 7:51 pm
Re: DNS Issues - Windows
[SOLVED]
Issue has been resolved with the block-outside-dns solution.
Issue has been resolved with the block-outside-dns solution.
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: DNS Issues - Windows
Good stuff