This article will guide you on how to configure your Ubuntu Linux computer/laptop to use google public DNS.
1. Press the window button in your keyboard and type Settings.
2. Click Network on the left pane then click the gear like button on the Ethernet connection you want to change.
3. Select IPv4 then turn off DNS automatic then type 8.8.8.8, 8.8.4.4.
4. Click Apply.