Quick Answer: How Do I Change Dns Name in Linux?
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...
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.
Must Read
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 г.