|
|
| (46 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| ==Installation==
| | *[[bind9 Installation und Kontrolle]] |
| aptitude install bind9
| | *[[Hauptkonfiguration von bind9]] |
| | | *[[Zonendatei von bind9]] |
| ==Konfiguration von bind9==
| |
| Standardmäßig sind die Konfigurationsdateien von bind9 auf mehrere aufgeteilt:
| |
| */etc/bind/named.conf
| |
| */etc/bind/named.conf.locale
| |
| */etc/bind/named.conf.options
| |
| */etc/bind/named.conf.default-zones
| |
| Man kann aber nach belieben auch nur die hauptdatei '''named.conf''' benutzen.
| |
| | |
| options {
| |
| directory "/var/lib/bind";
| |
| // forwarders { 0.0.0.0; };
| |
| auth-nxdomain no; # conform to RFC1035
| |
| listen-on { any; };
| |
| };
| |
|
| |
| // prime the server with knowledge of the root servers
| |
| zone "." {
| |
| type hint;
| |
| file "/etc/bind/db.root";
| |
| };
| |
|
| |
| // be authoritative for the localhost forward and reverse zones, and for
| |
| // broadcast zones as per RFC 1912
| |
|
| |
| zone "localhost" {
| |
| type master;
| |
| file "/etc/bind/db.local";
| |
| };
| |
|
| |
| zone "127.in-addr.arpa" {
| |
| type master;
| |
| file "/etc/bind/db.127";
| |
| };
| |
|
| |
| zone "0.in-addr.arpa" {
| |
| type master;
| |
| file "/etc/bind/db.0";
| |
| };
| |
|
| |
| zone "255.in-addr.arpa" {
| |
| type master;
| |
| file "/etc/bind/db.255";
| |
| };
| |
|
| |
| zone "int" {
| |
| type master;
| |
| file "vulkan";
| |
| notify no;
| |
| };
| |