linux:tcpip:dns

Diferències

Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.

Enllaç a la visualització de la comparació

Ambdós costats versió prèvia Revisió prèvia
Següent revisió
Revisió prèvia
linux:tcpip:dns [07/07/2025 23:47] – [related] matelinux:tcpip:dns [29/12/2025 03:59] (actual) – [related] mate
Línia 4: Línia 4:
 == related == related
   * [[tcpip:dns:start|]]   * [[tcpip:dns:start|]]
 +  * [[tcpip:dns:resolve|]]
   * [[tcpip:dns:dnsmasq]]   * [[tcpip:dns:dnsmasq]]
   * [[tcpip:dns:bind9]]   * [[tcpip:dns:bind9]]
Línia 23: Línia 24:
 ifconfig -a</code> ifconfig -a</code>
  
 +=== search
 +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.
 +
 +<code properties /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</code>
 +
 +<code bash>host test
 +test.xyz.com has address 192.168.1.5</code>
 +<code bash>nslookup test
 +Server:     192.168.1.11
 +Address:    192.168.1.11#53
 +
 +Name:   test.xyz.com
 +Address: 192.168.1.5</code>
 +
 +/via: [[https://askubuntu.com/questions/584054/how-do-i-configure-the-search-domain-correctly]]
 === resolv.conf === resolv.conf
   * ''/etc/resolv.conf'' es symlink de fichero generado dinámicamente   * ''/etc/resolv.conf'' es symlink de fichero generado dinámicamente
  • linux/tcpip/dns.1751957234.txt.gz
  • Darrera modificació: 07/07/2025 23:47
  • per mate