This guide explains how to change the DNS servers on a Debian 12 system. DNS (Domain Name System) is used to resolve domain names (like example.com
) into IP addresses.
You can temporarily change DNS by editing the /etc/resolv.conf
file directly. This change will be lost after reboot or network restart.