ip a ifconfig -a
Search domain means the domain that will be automatically appended when you only use the hostname for a particular host or computer. This is basically used in a local network.
dns-search xyz.com ##If you put this into /etc/network/interfaces<code> <code properties>search xyz.com ##If you put this into /etc/resolvconf/resolv.conf.d/base|head|tail
host test
test.xyz.com has address 192.168.1.5
nslookup test Server: 192.168.1.11 Address: 192.168.1.11#53 Name: test.xyz.com Address: 192.168.1.5
/via: https://askubuntu.com/questions/584054/how-do-i-configure-the-search-domain-correctly
/etc/resolv.conf es symlink de fichero generado dinámicamente/etc/resolvconf/resolv.conf.d/head añade al principio de /etc/resolv.confnameserver 8.8.8.8 nameserver 8.8.4.4
78.47.249.138 wiki.fidmag.org
resolvectl status
resolvectl --list
resolvectl --enable-updates
resolvectl -i
resolvectl -u
cat /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager
network: version: 2 ethernets: eth0: dhcp4: true nameservers: addresses: [8.8.8.8, 8.8.4.4]
network: version: 2 ethernets: eth0: dhcp4: false addresses: [192.168.1.10/24] gateway4: 192.168.1.1 nameservers: addresses:[208.67.222.222, 208.67.220.220]
sudo netplan apply sudo netplan generate # si problemas y repetir apply
sudo systemctl restart NetworkManager
nmcli
nmcli connection show
nmcli device show eno1
systemctl status systemd-resolved.service
sudo systemd-resolve --flush-caches
systemd-analyze cat-config systemd/resolved.conf