Dns Xubuntu
SolvedHello,
I am installing Xubuntu 22.04.1 LTS and I would like to know how to change the DNS in the simplest way.
Thank you
Awaiting your assistance
Best regards.
3 answers
-
Hello,
The DNS server is configured in /etc/resolv.conf. To fix it, you can directly modify this file. However, this file is rewritten with each DHCP request (so typically each time you connect to a box). To make the change permanent, it's better to configure a custom DNS in NetworkManager, specifying that for the network in question (let's say your wifi network), you want to use custom DNS.
By selecting "Automatic (addresses only)", you can then enter the DNS server(s) to use:
NetworkManager If you want to do this for all your connections, see this link.
Good luck
-
-
Hello,
The method seems complicated to me, wouldn't you have another way to do it without going through the terminal?
-
Do you have message #1?
-