User Tools

Site Tools


linux:dns-server-change

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:dns-server-change [2022/06/30 12:50] – created Wulf Rajeklinux:dns-server-change [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 While the default DNS server configuration is in /etc/resolv.conf, systemd and possibly other services may adjust this file. Changes to /etc/resolv.conf work immediately, but may be overwritten after reboot. While the default DNS server configuration is in /etc/resolv.conf, systemd and possibly other services may adjust this file. Changes to /etc/resolv.conf work immediately, but may be overwritten after reboot.
 +<code>
 +vi /etc/resolv.conf
 +</code>
  
 To permanently change the dns configuration, edit /etc/resolvconf/resolv.conf.d/head instead and reload services or restart the system. To permanently change the dns configuration, edit /etc/resolvconf/resolv.conf.d/head instead and reload services or restart the system.
 +<code> 
 +vi /etc/resolvconf/resolv.conf.d/head 
 +</code>
  
 https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/ https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/
  
linux/dns-server-change.1656589813.txt.gz · Last modified: 2023/05/29 11:53 (external edit)