Difference between revisions of "Stapsgewijs/Ubuntu Name Server"
Line 34: | Line 34: | ||
== Overzicht == | == Overzicht == | ||
De DNS-configuratiebestanden worden opgeslagen in de directory <tt>/etc/bind</tt>. | De DNS-configuratiebestanden worden opgeslagen in de directory <tt>/etc/bind</tt>. | ||
− | Het primaire configuratiebestand is | + | Het primaire configuratiebestand is {{BTT|/etc/bind/named.conf}}, dat in de lay-out van het pakket alleen de navolgende bestanden bevat: |
* {{BTT|/etc/bind/named.conf.options}}: global DNS options | * {{BTT|/etc/bind/named.conf.options}}: global DNS options | ||
* {{BTT|/etc/bind/named.conf.local}}: for your zones | * {{BTT|/etc/bind/named.conf.local}}: for your zones |
Revision as of 10:53, 20 February 2022
Deze pagina maakt deel uit van de serie Stapsgewijs. |
Een Name server a.k.a. DNS server wordt opgebouwd met de volgende stappen. Daarbij wordt het proces gevolgd , dat beschreven wordt in de Ubuntu Serve Guide[1].
Installatie
Er wordt hier uitgegaan van een up-to-date geïnstalleerde Basic Server.
We installeren twee packages:
- de bind9 software
sudo apt-get install bind9
- de dnsutils verzameling hulpsoftware
sudo apt-get install dnsutils
Configuratie
Gebruik de volgende opties om de server te configureren:
Er zijn 3 soorten name servers:
Elk daarvan wordt hierna besproken.
Overzicht
De DNS-configuratiebestanden worden opgeslagen in de directory /etc/bind. Het primaire configuratiebestand is /etc/bind/named.conf, dat in de lay-out van het pakket alleen de navolgende bestanden bevat:
- /etc/bind/named.conf.options: global DNS options
- /etc/bind/named.conf.local: for your zones
- /etc/bind/named.conf.default-zones: default zones such as localhost, its reverse, and the root hints
Meer ...
Caching Name Server
When configured as a caching nameserver BIND9 will find the answer to name queries and remember the answer when the domain is queried again.
Primary Name Server
As a primary server, BIND9 reads the data for a zone from a file on its host and is authoritative for that zone.
Secondary Name Server
As a secondary server, BIND9 gets the zone data from another nameserver that is authoritative for the zone