Network settings For OpenVPN don't take DNS

Bug #1934681 reported by Christopher Keddy
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

For Ubuntu 20.04 Desktop edition. When creating a openvpn connection using the Network settings under IPv4 tab if you select
[x]Use this connection only for resources on its network

The DNS setting above does not get applied. When I disable this all traffic goes through and the DNS works. I need to use the DNS server on the other end of the tunnel because it has entries to resolve internal names.

I'm thinking this might be a bug with the implementation

When importing from a .opvn file I did have

push "dhcp-option DNS"

Revision history for this message
Christopher Keddy (chrisskeddy) wrote :

Just to confirm I have taken my .ovpn file and imported it on Windows and Mac and it works fine for the tools that handle OpenVPN connections on those OSs

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Bernard Stafford (bernard010) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers