If your Ubuntu system ... can help. To change DNS settings for a specific Wi-Fi connection, open Settings, go to Wi-Fi, and click the gear icon next to your connected network.