Stapsgewijs/Ubuntu Name Server
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:
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