How to change DNS in Linux Ubuntu

How to change DNS in Linux Ubuntu | OneVPN

Follow these simple steps to change DNS in Linux Ubuntu: 1- Select the "wifi" or "wired" connection from the top right corner and select "Edit Connections".     2- Then select either "wifi" or "wired" connection which you are using and click on "edit" again.     3- Now select "IPV4 settings".     4- Select “Additional DNS Servers” and enter the DNS servers separated by a comma and "Save" afterwards and you are done.