What's new
  • 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!

“--dhcp-option DNS” vs. “--dns args” (OVPN)

JTnola

Regular Contributor
--dns args

When should you use "--dns”? How does it function differently than “dhcp-option”? Is its implementation vpn provider-specific?

When you use
--dns server n transport DoT
does it magically encrypt any DNS queries routed over the tunnel, or what actually happens?

I use “--dhcp-option” all the time
I’ve never used "--dns option"

could you point us to a useful resource to help understand? Thank you!
 
Is its implementation vpn provider-specific?
I think the majority of the options would only be relevant in a private VPN setup, e.g. LAN to LAN. When connecting to a commercial VPN provider like NordVPN the only --dhcp-option that seems useful is DNS (and perhaps DOMAIN). The new --dns options seem more aimed at setting environment variables that can be used in scripts.

I use “--dhcp-option” all the time
What options do you use?
 
Last edited:
I think the majority of the options would only be relevant in a private VPN setup, e.g. LAN to LAN. When connecting to a commercial VPN provider like NordVPN the only --dhcp-option that seems useful is DNS (and perhaps DOMAIN). The new --dns options seem more aimed at setting environment variables that can be used in scripts.


What options do you use?

dhcp-option DNS 9.9.9.9
dhcp-option DNS 149.112.112.112
 
Similar threads
Thread starter Title Forum Replies Date
TanyaC Using OpenVPN with VPN and local area network with block-outsde-dns VPN 0

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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