linux:bind9
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
Bind9
Bind9 als Slave einrichten
Quellserver
/etc/bind/named.conf.local
zone "contoso.com" { type master; file "/etc/named/db.contoso.com"; notify yes; also-notify { a.b.c.d; }; allow-transfer { a.b.c.d; }; };
a.b.c.d ist die Ziel-IP des Slave-DNS
Zielserver
/etc/bind/named.conf.local
zone "contoso.com" { type slave; masters { a.b.c.d; }; file "/var/lib/bind/db.contoso.com"; };
a.b.c.d ist die IP des Master-DNS
Zusätzlich muss die Firewall passend freigeschaltet sein, falls aktiv 1):
iptables -A INPUT -p tcp --dport 53 -j ACCEPT
1)
gilt nur bis zum nächsten Neustart und muss für Dauerhaftigkeit in einem Startscript wie z.B. rc.local eingebunden werden
linux/bind9.1572612974.txt.gz · Zuletzt geändert: 2019/11/01 13:56 von ronny