Hi
Ich hab auch ein Problem mit Bind 9
Allerdings nicht mit der Installation sondern der config.
Ich habe soweit alles eingestellt, nur jetzt will er die zonendateien beim starten nicht finden.
Die Files:
/etc/named.conf
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
forward only;
forwarders {
192.168.178.1;
};
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "intranet.lan" {
type master;
file "intranet.lan.zone";
};
zone "0.16.192.in-addr.arpa" {
type master;
file "192.16.0.zone";
};
include "/etc/rndc.key";
|
/var/named/intranet.lan.zone
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$TTL 1D
intranet.lan. IN SOA dns root.dns.intranet.lan. (
2006103102 ;serial
1D ;refresh
2H ;retry
1W ;expiry
2D ) ;minimum
IN NS dns
localhost IN A 127.0.0.1
loopback IN CNAME localhost
h34dy IN A 192.16.1.1
DNS IN A 192.16.0.1
|
/var/named/192.16.0.zone
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$TTL 1D
16.192.in-addr.arpa. IN SOA intranet.lan. root.intranet.lan. (
2006103102 ;serial
1D ;refresh
2H ;retry
1W ;expiry
2D ) ;minimum
IN NS dns.intranet.lan.
1.0 IN PTR DNS.intranet.lan.
1.1 IN PTR h34dy.intranet.lan.
|
Starte ich den server ohne meine eigenen Zonen, geht alles. Starte ich mit kommt folgende Meldung:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
|
[root@DNS sbin]# /etc/init.d/named start
named starten:
Fehler in der genannten Konfiguration:
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
zone 255.in-addr.arpa/IN: loaded serial 42
zone 0.in-addr.arpa/IN: loaded serial 42
zone intranet.lan/IN: loading master file intranet.lan.zone: file not found
_default/intranet.lan/IN: file not found
zone 0.16.192.in-addr.arpa/IN: loading master file 192.16.0.zone: file not found
_default/0.16.192.in-addr.arpa/IN: file not found
[FEHLGESCHLAGEN]
|
Jetzt weis ich nicht mehr weiter. Bitte um Hilfe
Greetz