Both sides previous revisionPrevious revisionNext revision | Previous revision |
ubuntu:bind:configure_bind9 [2020/12/09 14:05] – [Configuration Files] peter | ubuntu:bind:configure_bind9 [2020/12/09 16:06] (current) – peter |
---|
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. |
| |
---- | ---- |
| |
<WRAP info> | <WRAP info> |
**NOTE:** The root nameservers used to be described in the file /etc/bind/db.root. | **NOTE:** The root nameservers used to be described in the file **/etc/bind/db.root**. |
| |
This is now provided instead by the /usr/share/dns/root.hints file shipped with the dns-root-data package, and is referenced in the **named.conf.default-zones** configuration file mentioned above. | This is now provided instead by the **/usr/share/dns/root.hints** file shipped with the dns-root-data package, and is referenced in the **named.conf.default-zones** configuration file mentioned above. |
| |
</WRAP> | </WRAP> |
| |
It is possible to configure the same server to be a caching name server, primary, and secondary: it all depends on the zones it is serving. A server can be the Start of Authority (SOA) for one zone, while providing secondary service for another zone. All the while providing caching services for hosts on the local LAN. | <WRAP info> |
| **NOTE:** BIND9 can be configured to be a caching name server, primary, and secondary at the same time: it all depends on the zones it is serving. |
| |
| A server can be the **Start of Authority (SOA)** for one zone, while providing secondary service for another zone. |
| |
| All the while providing caching services for hosts on the local LAN. |
| </WRAP> |
| |