Contents
How do I change DNS settings in Linux?
Change your DNS servers on Linux
- Open the terminal by pressing Ctrl + T.
- Enter the following command to become the root user: su.
- Once you’ve entered your root password, run these commands: rm -r /etc/resolv.conf. …
- When the text editor opens, type in the following lines: nameserver 103.86.96.100. …
- Close and save the file.
How do I change DNS hostname?
You can configure it with the following steps.
- Go to Settings > Network & Internet > Advanced > Private DNS.
- Select Private DNS provider hostname.
- Enter dns.google as the hostname of the DNS provider.
- Click Save.
25 июн. 2020 г.