User Tools

Site Tools


настройка_сети_в_linux

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
настройка_сети_в_linux [2022/05/26 10:56]
val [Файлы конфигурации Ubuntu >= 18]
настройка_сети_в_linux [2022/10/04 08:48]
val [Файлы конфигурации Ubuntu >= 18]
Line 243: Line 243:
  
 # netplan apply # netplan apply
 +</​code>​ 
 +=== systemd-resolved === 
 +<​code>​
 # cat /​etc/​resolv.conf # cat /​etc/​resolv.conf
 </​code><​code>​ </​code><​code>​
Line 249: Line 251:
 nameserver 127.0.0.53 nameserver 127.0.0.53
 </​code><​code>​ </​code><​code>​
 +# resolvectl status
 +
 # cat /​etc/​systemd/​resolved.conf # cat /​etc/​systemd/​resolved.conf
 </​code><​code>​ </​code><​code>​
Line 275: Line 279:
 # systemctl disable systemd-resolved.service # systemctl disable systemd-resolved.service
 # systemctl stop systemd-resolved # systemctl stop systemd-resolved
 +
 +# rm /​etc/​resolv.conf ​   # this is link
 </​code>​ </​code>​
 ==== Файлы конфигурации CentOS/​SL/​RHEL ==== ==== Файлы конфигурации CentOS/​SL/​RHEL ====
настройка_сети_в_linux.txt · Last modified: 2024/05/04 16:16 by val