What's new

Get VPN DNS Server(s) In Script?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!


Senior Member
Does anyone know if there's a way to get the VPN DNS server(s) for a OpenVPN client? For WireGuard it's pretty simple since there is a field in the GUI that corresponds to a NVRAM key/value, but for OpenVPN I believe the DNS servers are provided by the OpenVPN server so there isn't an actual NVRAM key/value to check. Is there a command that would tell me what DNS servers are being used by the OpenVPN client though?


Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!