LINUX.ORG.RU

История изменений

Исправление paa66, (текущая версия) :

ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Jan 21 15:52 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf


cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search .

sudo systemctl list-units --type service --all | grep -i -e net -e resolv
  netplan-ovs-cleanup.service            loaded    inactive dead    OpenVSwitch configuration for cleanup
  networkd-dispatcher.service            loaded    active   running Dispatcher daemon for systemd-networkd
● NetworkManager.service                 not-found inactive dead    NetworkManager.service
  systemd-networkd-wait-online.service   loaded    inactive dead    Wait for Network to be Configured
  systemd-networkd.service               loaded    active   running Network Configuration
  systemd-resolved.service               loaded    active   running Network Name Resolution
  systemd-timesyncd.service              loaded    inactive dead    Network Time Synchronization


cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Все эти настройки по-умолчанию, какие были изначально. Я потом вносил изменения, но откатил обратно.

Исходная версия paa66, :

ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Jan 21 15:52 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf


cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search .

sudo systemctl list-units --type service --all | grep -i -e net -e resolv
  netplan-ovs-cleanup.service            loaded    inactive dead    OpenVSwitch configuration for cleanup
  networkd-dispatcher.service            loaded    active   running Dispatcher daemon for systemd-networkd
● NetworkManager.service                 not-found inactive dead    NetworkManager.service
  systemd-networkd-wait-online.service   loaded    inactive dead    Wait for Network to be Configured
  systemd-networkd.service               loaded    active   running Network Configuration
  systemd-resolved.service               loaded    active   running Network Name Resolution
  systemd-timesyncd.service              loaded    inactive dead    Network Time Synchronization


cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy