meine bind9 Einstellungen

Wichtig wichtig wichtig. Exakt so kopieren und anpassen. Ansonsten sucht man sich an den Fehlern tod.

/etc/bind/db.example.local

Bash
 
;
; BIND data file for local loopback interface
;
$TTL    604800
@	IN	SOA	ns1.example.local. root.example.local. (
			2009062102	; Serial
			604800		; Refresh
			86400		; Retry
			2419200		; Expire
			604800 )		; Negative Cache TTL
;
		NS	ns1
@	IN	A	192.168.0.20
@	IN	AAAA	::1
*	IN	A	192.168.0.20
*	IN	AAAA	::1
 

/etc/bind/db.192

Bash
 
;
; BIND reverse data file for 192.168.0
;
$TTL	604800
@	IN	SOA	ns1.example.local. root.example.local. (
			2009062102	; Serial
			604800		; Refresh
			86400		; Retry
			2419200		; Expire
			604800 )		; Negative Cache TTL
;
@	IN	NS	ns1
 
20	IN	PTR	development.example.local.
 

/etc/bind/named.conf.local

Bash
 
//
// Do any local configuration here
//
 
// Consider adding the 1918 zones here, if they are not used in your
// organization
// include "/etc/bind/zones.rfc1918";
 
zone "example.local" {
	type master;
	file "/etc/bind/db.example.local";
	};
zone "0.168.192.in-addr.arpa" {
	type master;
	file "/etc/bind/db.192";
	};