Bind 9

hi leute
ich habe da ein kleines problem mit bind
wenn ich bind mit dem befehl /usr/local/sbin/named -g starte
bringt er immer folgende fehler.

Sep 19 16:43:11.212 starting BIND 9.1.3rc1 -g
Sep 19 16:43:11.214 using 1 CPU
Sep 19 16:43:11.221 loading configuration from ‚/etc/named.conf‘
Sep 19 16:43:11.228 the default for the ‚auth-nxdomain‘ option is now ‚no‘
Sep 19 16:43:11.228 option ‚statistics-interval‘ is not yet implemented
Sep 19 16:43:11.231 listening on IPv4 interface lo0, 127.0.0.1#53
Sep 19 16:43:11.233 listening on IPv4 interface hme0, 10.40.48.206#53
Sep 19 16:43:11.238 ignoring config file logging statement due to -g option
Sep 19 16:43:11.243 dns_zone_load: zone ./IN: could not find NS and/or SOA records
Sep 19 16:43:11 mdmulildnsi /usr/local/sbin/named[562]: dns_zone_load: zone ./IN: could not find NS and/or SOA records
Sep 19 16:43:11.244 dns_zone_load: zone ./IN: has 0 SOA records
Sep 19 16:43:11 mdmulildnsi /usr/local/sbin/named[562]: dns_zone_load: zone ./IN: has 0 SOA records
Sep 19 16:43:11.252 dns_rdata_fromtext: localhost.zone:2: near ‚[email protected]‘: unexpected token
Sep 19 16:43:11 mdmulildnsi /usr/local/sbin/named[562]: dns_rdata_fromtext: localhost.zone:2: near ‚[email protected]‘: unexpected token
Sep 19 16:43:11.253 dns_zone_load: zone localhost/IN: loading master file localhost.zone: unexpected token
Sep 19 16:43:11 mdmulildnsi /usr/local/sbin/named[562]: dns_zone_load: zone localhost/IN: loading master file localhost.zone: unexpected token
Sep 19 16:43:11.255 running

aber er löst alles korrekt auf und geht
kann mir jemand sagen was es mit den fehlern auf sich hat
danke
cu michi

Hallo!

Vielleicht nach Angabe der named.conf…

Gruss,
Andreas

Hi Michi

die e-Mailadresse darf in den Zonefiles kein @ enthalten. Dies muss IMHO durch einen Punkt . ersetzt werden.

Grüße
Martin

Noch was vergessen…
Die named.conf wäre nicht schlecht. Das scheint ein Pfad falsch zu sein (./IN).

[Bei dieser Antwort wurde das Vollzitat nachträglich automatisiert entfernt]

besten dank für eure schnelle hilfe ich probiere eure tips gleich aus.
hier ist noch die named.conf

acl canquery { 10.40.48.0/24; 127.0.0.1; };

overall options of the server

options {
directory „/var/named“;

the default is to fail, if the master file is not correct

#check-names master warn;

pid-file „/var/run/named.pid“;
statistics-interval 0;
cleaning-interval 720;

datasize default;
stacksize default;
coresize default;
files unlimited;
#recursion yes;
allow-query { canquery; };
allow-recursion { canquery; };

forwarders {
212.18.3.5;
212.18.0.5;
194.25.0.60;
};
};

do not be verbose about these problems…

logging {

category default { null; };

category lame-servers { null; };
category cname { null; };
};

The server statement defines the characteristics to be associated with

a remote name server.

Marking a server as bogus will prevent queries to that server.

#server 192.168.0.128 { bogus yes; }

If the other name server has also BIND 8.1 or newer installed, you

can allow compacter zone transfers with this statement.

#server 192.168.0.128 { transfer-format many-answers; }

zone „.“ IN {
type master;
file „root.hint“;
};

zone „localhost“ IN {
type master;
file „localhost.zone“;

check-names fail;

allow-update { none; };
allow-query { canquery; };
};

zone „0.0.127.in-addr.arpa“ IN {
type master;
file „127.0.0.zone“;

check-names fail;

allow-update { none; };
};

zone „gr3g-umts.com“ IN {
type master;
file „gr3g-umts.com.zone“;

check-names fail;

#allow-update { none; };
};

zone „48.40.10.in-addr.arpa“ IN {
type master;
file „10.40.48.zone“;

check-names fail;

#allow-update { none; };
};

besten dank nochmal cu michi

hi leute ich habe den fehler gefunden (ich depp)
in der named.conf habe ich bei dem root.hint eintrag
type master geschrieben aber es gehört type hint rein
jetzt funzt alles
danke nochmal für eure tips
cu michi