User Tools

Site Tools


ubuntu:bind:configure_bind9

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:bind:configure_bind9 [2020/12/09 14:12] peterubuntu:bind:configure_bind9 [2020/12/09 16:06] (current) peter
Line 9: Line 9:
 BIND9 can be configured in many different ways, mostly: BIND9 can be configured in many different ways, mostly:
  
-  * **Caching nameserver:**  BIND9 will find the answer to name queries and remember the answer when the domain is queried again. +  * **[[Ubuntu:Bind:Configure Bind9:Caching Nameserver|Caching Nameserver]]:**  BIND9 will find the answer to name queries and remember the answer when the domain is queried again. 
-  * **Primary nameserver:**  BIND9 reads the data for a zone from a file on its host and is authoritative for that zone. +  * **[[Ubuntu:Bind:Configure Bind9:Primary Nameserver|Primary Nameserver]]:**  BIND9 reads the data for a zone from a file on its host and is authoritative for that zone. 
-  * **Secondary nameserver**  BIND9 gets the zone data from another nameserver that is authoritative for the zone.+  * **[[Ubuntu:Bind:Configure Bind9:Secondary Nameserver|Secondary Nameserver]]:**  BIND9 gets the zone data from another nameserver that is authoritative for the zone.
  
 ---- ----
Line 39: Line 39:
 All the while providing caching services for hosts on the local LAN. All the while providing caching services for hosts on the local LAN.
 </WRAP> </WRAP>
- 
----- 
- 
-===== Caching Nameserver ===== 
- 
-The default configuration acts as a caching server. 
- 
-Simply uncomment and edit **/etc/bind/named.conf.options** to set the IP addresses of the DNS servers you want to use; such as your ISP’s DNS servers: 
- 
-<code bash> 
-forwarders { 
-    1.2.3.4; 
-    5.6.7.8; 
-}; 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  Replace 1.2.3.4 and 5.6.7.8 with the IP Addresses of actual nameservers. 
-</WRAP> 
- 
- 
-To enable the new configuration, restart the DNS server: 
- 
-<code bash> 
-sudo systemctl restart bind9.service 
-</code> 
- 
----- 
  
  
ubuntu/bind/configure_bind9.1607523173.txt.gz · Last modified: 2020/12/09 14:12 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki