Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:debian:change-dns-server [2024/12/25 14:12] – removed - external edit (Unknown date) 127.0.0.1linux:debian:change-dns-server [2024/12/25 14:12] (current) – ↷ Page moved from linux:linux-tutorials:change-dns-server to linux:debian:change-dns-server Zyzonix
Line 1: Line 1:
 +===== Edit DNS server =====
  
 +**Tested on Debian 12**
 +
 +There are several ways to set a DNS server in Debian. One way is using ''/etc/resolv.conf''. Therefore just add the following line with the DNS server you want to add to the file:
 +<code bash>
 +nameserver <ip-of-dns-server>
 +</code>
 +
 +//Sourced from [[https://www.ionos.de/digitalguide/server/konfiguration/debian-dns-aendern/|ionos.de - Debian DNS Aendern]]//