PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : debian 4.0 bind9 dns server macht probleme (bin am ende mit meinem latein)



Channel19
03.10.07, 19:09
@ all

ich bin komplett am ende mit meinen latein, ich schaffe es einfach nicht den bind9 auf debin 4.0 zum laufen zu bekommen.
ich habe IMMMER eine fehlermeldung, ich poste mal meine files. vielleicht kannmir ja jemand helfen ! BITTE !!!
da ssind alle dateien in denen ich etwas geändert habe ! ich finde keinen fehler oder ich sehe den wald vor lauter bäumen nicht mehr ? bitte kann mir jemand helfen ... DANKE DANKE DANKE

Also die syslog schaut so aus:
Sep 30 20:46:15 sunx named[3313]: starting BIND 9.3.4 -u bind
Sep 30 20:46:15 sunx named[3313]: found 2 CPUs, using 2 worker threads
Sep 30 20:46:15 sunx named[3313]: loading configuration from '/etc/bind/named.conf'
Sep 30 20:46:15 sunx named[3313]: listening on IPv6 interfaces, port 53
Sep 30 20:46:15 sunx named[3313]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 30 20:46:15 sunx named[3313]: listening on IPv4 interface eth0, 10.0.0.10#53
Sep 30 20:46:15 sunx named[3313]: command channel listening on 127.0.0.1#953
Sep 30 20:46:15 sunx named[3313]: command channel listening on ::1#953
Sep 30 20:46:15 sunx named[3313]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 30 20:46:15 sunx named[3313]: dns_master_load: /etc/bind/10.reversezone:2: unexpected end of line
Sep 30 20:46:15 sunx named[3313]: dns_master_load: /etc/bind/10.reversezone:1: unexpected end of input
Sep 30 20:46:15 sunx named[3313]: zone 10.in-addr.arpa/IN: loading master file /etc/bind/10.reversezone: unexpected end of input
Sep 30 20:46:15 sunx named[3313]: zone 127.in-addr.arpa/IN: loaded serial 1
Sep 30 20:46:15 sunx named[3313]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 30 20:46:15 sunx named[3313]: dns_master_load: /etc/bind/rexx.lan.local:2: unexpected end of line
Sep 30 20:46:15 sunx named[3313]: dns_master_load: /etc/bind/rexx.lan.local:1: unexpected end of input
Sep 30 20:46:15 sunx named[3313]: zone rexx.lan/IN: loading master file /etc/bind/rexx.lan.local: unexpected end of input
Sep 30 20:46:15 sunx named[3313]: zone localhost/IN: loaded serial 1
Sep 30 20:46:15 sunx named[3313]: running


Die datei rex.lan.local schaut so aus:

#/etc/bind/rexx.lan.local
$TTL 86400
@ IN SOA sunx.rexx.lan. root.sunx.rexx.lan. (
2007093003 ; Seriennummer
10800 ; Refresh - Zeit in Sekunden nach der beim
; ersten NS nach neuen Daten gefragt wird
3600 ; Retry - Wenn ein autorativer NS nicht erreichbar ist,
; wird die Zone auf den zweiten NS transferiert
604800 ; Expire - Wir der primäre NS nicht erreicht,
; wird die Zone auch vom zweiten NS gelöscht
86400 ) ; Minimum - Ein sekundärer NS darf frühestens
; nach diesem Sekundenwert wieder dem ersten NS
; nach aktuellen Werten fragen
@ IN NS sunx.rexx.lan
@ IN MX 5 sunx.rexx.lan
localhost IN A 127.0.0.1 ; localhost
www IN A 10.0.0.10 ; Die IP-Adresse des Netzwerkinterfaces
dell IN A 10.0.0.111 ; Adresse des Rechners "dell"
saturn IN A 10.0.0.113 ; Adresse des Rechners "saturn"



Die datei 10.reversezone schaut so aus:

#/etc/bind/10.reversezone
$TTL 86400
@ IN SOA sunx.rexx.lan. root.sunx.rexx.lan. (
2007093003 ; Seriennummer
86400 ; Refreshdauer 1 Tag
7200 ; Retryzeit 2 Stunden
604800 ; Expire-Zeitraum 1 Wochen
172800 ) ; Minimum-Nachfragewert 2 Tage

@ IN NS sunx.rexx.lan.
10.0.0.10.in-addr.arpa. IN PTR sunx.rexx.lan.
10.0.0.10.in-addr.arpa. IN PTR ns.rexx.lan.
111.0.0.10.in-addr.arpa. IN PTR dell.rexx.lan.
113.0.0.10.in-addr.arpa. IN PTR saturn.rexx.lan.



Die datei named.conf.local sieht so aus:

//
// 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 "rexx.lan" IN {
type master;
notify no;
file "/etc/bind/rexx.lan.local";
};

zone "10.in-addr.arpa" IN {
type master;
notify no;
file "/etc/bind/10.reversezone";
};


Die datei named.conf.options sieht so aus:


options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.

// query-source address * port 53;

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

forwarders {
143.205.176.16;
143.205.176.17;
};

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};