Difference between revisions of "DNS"

From wiki
Jump to navigation Jump to search
(Created page with "Domain Name Service. Bind a name to IP-addresses. Disable resolving IPv6 addresses by editing /etc/default/bind9 to have <code>OPTIONS="-4 -u bind"</code>")
 
Line 2: Line 2:
  
 
Disable resolving IPv6 addresses by editing /etc/default/bind9 to have <code>OPTIONS="-4 -u bind"</code>
 
Disable resolving IPv6 addresses by editing /etc/default/bind9 to have <code>OPTIONS="-4 -u bind"</code>
 +
 +
 +
;/etc/resolv.conf
 +
<syntaxhighlight lang=text>
 +
nameserver <dns-server1 IP>
 +
nameserver <dns-server2 IP>
 +
options <interface>
 +
search <default search domain>
 +
</syntaxhighlight>

Revision as of 10:34, 11 April 2020

Domain Name Service. Bind a name to IP-addresses.

Disable resolving IPv6 addresses by editing /etc/default/bind9 to have OPTIONS="-4 -u bind"


/etc/resolv.conf
nameserver <dns-server1 IP>
nameserver <dns-server2 IP>
options <interface>
search <default search domain>