PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit Bind



innocentbeats
27.09.04, 18:46
Hallo,
ich habe bei meinem "Mandrake Router" Probleme mit dem bind DNS Server. Er arbeitet eigentlich nur als forwarder, doch tut er das leider sehr unregelmäßig.

Als Fehler im Syslog hat er das gebracht:
Sep 27 18:38:04 equinox named[4087]: internal_send: 192.168.2.125#1129: Invalid argument
Sep 27 18:38:04 equinox named[4087]: client 192.168.2.125#1129: error sending response: invalid file

Ab und zu hilft ein Neustart von named, im Moment leider jedoch nicht, alle Clients können nur Namen auflösen, wenn ich ihnen direkt den DNS des Providers zuteile.

Was könnte der Fehler sein?

CU

IT-Low
28.09.04, 16:06
Hi,

könntest du mal deine named.conf posten?

innocentbeats
29.09.04, 18:52
// generated by named-bootconf.pl


// secret must be the same as in /etc/rndc.conf
key "key" {
algorithm hmac-md5;
secret "xxxxxx";
};

controls {
inet 127.0.0.1 allow { any; } keys { "key"; };
};


options {
directory "/var/named";
pid-file "/var/run/named/named.pid"; // Put pid file in working dir
/*
* 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 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
forward first;
forwarders {
137.1.1.1;
};
allow-query { 192.168.2/24; };
listen-on { 127.0.0.1; 192.168.2.1; };
allow-transfer { none; };
};

//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};

// workaround stupid stuff... (OE: Wed 17 Sep 2003)
zone "ac" { type delegation-only; };
zone "cc" { type delegation-only; };
zone "com" { type delegation-only; };
zone "cx" { type delegation-only; };
zone "museum" { type delegation-only; };
zone "net" { type delegation-only; };
zone "nu" { type delegation-only; };
zone "ph" { type delegation-only; };
zone "sh" { type delegation-only; };
zone "tm" { type delegation-only; };
zone "ws" { type delegation-only; };

Das ist meine named.conf. Der untere Teil stammt von einem Mandrake rpm welches einen caching-only nameserver erstellt. Dieser fragt jedoch die root-Server ab, deshalb habe ich die Forwarder eingesetzt (IP des DNS und Host-Key habe ich unkenntlich gemacht).

Danke schonmal!

IT-Low
29.09.04, 19:49
allow-query { 192.168.2/24; };


Probiers mal damit:


allow-query { 192.168.2.0/24; };