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
Using VPN DNS?
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: Using VPN DNS?
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:
regards, rob0
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
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
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