Page 1 of 1

Using VPN DNS?

Posted: Wed Mar 02, 2022 10:32 am
by deanfourie
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

Re: Using VPN DNS?

Posted: Sat Mar 19, 2022 4:01 pm
by openvpn_inc
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