Skip to content

Instantly share code, notes, and snippets.

@linuxkathirvel
Last active May 11, 2021 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxkathirvel/8768a55ff6b9dfc79bec6b580cf39837 to your computer and use it in GitHub Desktop.
Save linuxkathirvel/8768a55ff6b9dfc79bec6b580cf39837 to your computer and use it in GitHub Desktop.
How to assign more than one DNS IPs in Fedora 34 for OpenVPN connection?

How to assign more than one DNS IPs in Fedora 34 for OpenVPN connection?

Open /etc/systemd/resolved.conf file

sudo vim /etc/systemd/resolved.conf

Add DNS IPs with space separated. DNS variable will be commented default. We should uncomment it to enable

DNS=208.67.222.222 208.67.220.220

Save the file

Restart the systemd-resolved.service

sudo systemctl restart systemd-resolved.service

Disconnect and connect network and VPN connection

Reference

FIX OPENVPN DNS IN KUBUNTU 18.04 - YotKPD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment