Using VPN DNS?

Next-generation cloud-hosted OpenVPN business solution.
Post Reply
deanfourie
OpenVpn Newbie
Posts: 9
Joined: Sat Oct 02, 2021 9:28 pm

Using VPN DNS?

Post by deanfourie » Wed Mar 02, 2022 10:32 am

So, I have my pfSense connected to OpenVPN as a client.

I want to use OpenVPN Cloud as my DNS server but am unsure where to find the DNS SERVER ip?

Would I just use the connector IP. I have used the connector IP as my DNS server and it does resolve hostname, however when I add custom A records it does not resolve them correctly.

I have tested with a domain i've never browsed so I know its not cached.

Any ideas?

Thanks

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Using VPN DNS?

Post by openvpn_inc » Sat Mar 19, 2022 4:01 pm

Hi Dean,

It looks like you can set the DNS address:
https://openvpn.net/cloud-docs/dns-servers/
https://openvpn.net/cloud-docs/changing-dns-servers/

I don't have a Cloud connection at the moment, but I can tell you how to check what IP addresses are given for DNS servers: just look in your client logs for what was pushed. (Of course you will have to script something to put that in your resolv.conf(5) file when you connect.) And I can tell you how to test, assuming dig(1) is installed on your pfsense:

Code: Select all

dig openvpn.net
regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply