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:45] – [related] matelinux:tcpip:dns [08/07/2025 01:58] (actual) – [configuració DNS] mate
Línia 6: Línia 6:
   * [[tcpip:dns:dnsmasq]]   * [[tcpip:dns:dnsmasq]]
   * [[tcpip:dns:bind9]]   * [[tcpip:dns:bind9]]
 +  * [[linux:dns:127]]
   * [[https://www.dns0.eu/]]   * [[https://www.dns0.eu/]]
   * [[https://one.one.one.one/]]   * [[https://one.one.one.one/]]
Línia 22: Línia 23:
 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.1751957155.txt.gz
  • Darrera modificació: 07/07/2025 23:45
  • per mate