Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit Bind
innocentbeats
27.09.04, 17: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
Hi,
könntest du mal deine named.conf posten?
innocentbeats
29.09.04, 17: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!
allow-query { 192.168.2/24; };
Probiers mal damit:
allow-query { 192.168.2.0/24; };
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.