Taula de continguts

DNS

direct

DNS populars

configuració DNS

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.

/etc/network/interfaces
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

resolv.conf

netplan (servers)

NetworkManager

nmcli

comandos (OLD)