Page 1 of 1

Nameserver wird nich akzeptiert, was ist nur falsch :/

Posted: 2003-01-29 18:04
by bratzi
Hallo,

ich habe versucht mir einen auf meinen Rootserver (Suse 8.1, Confixx 2.0, Bind9) einen Nameserver einzurichten. Habe mich "eigentlich" an diese Anleitung

http://www.netfeatures.de/rootserver/in ... start.html

gehalten.

Folgende Daten habe ich verwendet (Beispiele):


1&1 Domain Rootserver: ns.rootserver-domain.de
IP: 123.456.789
Kundendomain : kundendomain.de

ns1 : soll mein Nameserver sein
ns2 : soll ns.schlund.de

Wenn ich nun meine Domain über Providerdomain updaten will habe ich eine riesige Fehlermeldung, die im grunde wohl aussagt das ich (also ns.rootserver-domain.de) "NOT AUTHORITATIVE for the zone kundendomain.de" bin. Die Fehlermeldung sieht so aus:

-->

The domain kundendomain.de has NOT been updated. The following errors were detected: == SERVER ns.rootserver-domain.de. == ns.rootserver-domain.de.: received non-authoritatvie answer from 123.456.789 for kundendomain.de ns.rootserver-domain.de.: NOT AUTHORITATIVE for the zone kundendomain.de == END == == SERVER ns.schlund.de. == Server: ns.schlund.de Address: 195.20.224.97 Query about kundendomain.de for record types ANY Trying kundendomain.de ... Query failed, 0 answers, status: no error Authority information: de 27444 IN NS dns.denic.de de 27444 IN NS dns2.de.net de 27444 IN NS sss-at.denic.de de 27444 IN NS sss-de1.de.net de 27444 IN NS sss-jp.denic.de de 27444 IN NS sss-nl.denic.de de 27444 IN NS sss-uk.de.net de 27444 IN NS sss-us1.de.net de 27444 IN NS sss-us2.denic.de de 27444 IN NS auth03.ns.de.uu.net de 27444 IN NS sunic.sunet.se Additional information: dns.denic.de 73646 IN A 194.246.96.79 dns2.de.net 40218 IN A 194.246.96.49 sss-at.denic.de 73640 IN A 193.171.255.34 sss-de1.de.net 40218 IN A 193.159.170.187 sss-jp.denic.de 8642 IN A 210.81.13.179 sss-nl.denic.de 73640 IN A 193.0.0.237 sss-uk.de.net 40244 IN A 62.53.3.68 sss-us1.de.net 8627 IN A 206.65.170.100 sss-us2.denic.de 85666 IN A 167.216.196.131 auth03.ns.de.uu.net 30740 IN A 192.76.144.16 sunic.sunet.se 73654 IN A 192.36.125.2 kundendomain.de ANY record currently not present at ns.schlund.de ns.schlund.de.: NOT AUTHORITATIVE for the zone kundendomain.de == END == The servers don''t have all the same primary! Server ns.rootserver-domain.de. is not authoritative! Server ns.schlund.de. is not authoritative!

<--

Kann da vieleicht jemand draus lesen welche Einstellungen falsch sind? Ich poste gerne auch die Inhalte der Nameserverdateien, nur welche sind hier Interessant ???

thx for help

gruß Bratzi

Re: Nameserver wird nich akzeptiert, was ist nur falsch :/

Posted: 2003-01-29 18:09
by cgiresource
Hi,

ja, also die Fehlermeldung sagt eigentlich aus, dass keine Authorisierten Nameserver in der Zone-File definiert sind.

Poste doch mal das Zone-File für die Domain unt evtl. auch die named.conf

Gruß,

CGIResource

P.S.: Leider kann ich ja deinen Nameserver nicht abfragen, weil du ja schön die Domainnamen versteckt hast :D

Re: Nameserver wird nich akzeptiert, was ist nur falsch :/

Posted: 2003-01-29 18:30
by bratzi
danke für die Antwort. Hier die Scripte :):

Glaube ich habe den Fehler gerade gesehen. In den Dateien

rootserver-domain.rev
rootserver-domain.zone

muss im ersten "IN NS", IN NS ns.rootserver-domain.de. stehen ???

Weis nicht ob meine Vermutung richtig ist. Kannst ja trotzdem aml schauen :)


D A N K E
Gruß Bratzi



Inhalt der Datei rootserver-domain.rev
--------------------------------------
$TTL 1W
@ IN SOA ns.rootserver-domain.de. root.ns.rootserver-domain.de. (
2003012801 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11H} ; minimum

IN NS ns
IN NS ns.schlund.de.
666 IN PTR rootserver-domain.de.




Inhalt der Datei rootserver-domain.zone
---------------------------------------
$TTL 1W
@ IN SOA ns.rootserver-domain.de. root.rootserver-domain.de. (
2003012801 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11H} ; minimum

IN NS ns
IN NS ns.schlund.de.
IN A 123.456.789
mail IN A 123.456.789
ns IN A 123.456.789
* IN A 123.456.789



Inhalt der Datei kundendomain.de.zone
---------------------------------------
$TTL 1W
@ IN SOA ns.kundendomain.de. root.rootserver-domain.de. (
2003012801 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11H} ; minimum

IN NS ns.rootserver-domain.de.
IN NS ns.schlund.de.
kundendomain.de. IN A 123.456.789
* IN A 123.456.789





Inhalt der Datei named.conf
---------------------------------------

# Copyright (c) 2001 SuSE GmbH Nuernberg, Germany
#
# Author: Frank Bodammer <feedback@suse.de>
#
# /etc/named.conf
#
# This is a sample configuration file for the name server BIND9.
# It works as a caching only name server without modification.
#
# A sample configuration for setting up your own domain can be
# found in /usr/share/doc/packages/bind9/sample-config.
#
# A description of all available options can be found in
# /usr/share/doc/packages/bind9/misc/options.

options {

# The directory statement defines the name server´s
# working directory

directory "/var/named";

# The forwarders record contains a list of servers to
# which queries should be forwarded. Enable this line and
# modify the IP-address to your provider's name server.
# Up to three servers may be listed.

#forwarders { 10.11.12.13; 10.11.12.14; };

# Enable the next entry to prefer usage of the name
# server declared in the forwarders section.

#forward first;

# The listen-on record contains a list of local network
# interfaces to listen on. Optionally the port can be
# specified. Default is to listen on all interfaces found
# on your system. The default port is 53.

#listen-on port 53 { 127.0.0.1; };

# The listen-on-v6 record enables or disables listening
# on IPV6 interfaces. Allowed values are 'any' and 'none'
# or a list of addresses. IPv6 can only be used with
# kernel 2.4 in this release.

#listen-on-v6 { any; };

# The next three statements may be needed if a firewall
# stands between the local server and the internet.

#query-source address * port 53;
#transfer-source * port 53;
#notify-source * port 53;

# The allow-query record contains a list of networks or
# IP-addresses to accept and deny queries from. The
# default is to allow queries from all hosts.

#allow-query { 127.0.0.1; };

# If notify is set to yes (default), notify messages are
# sent to other name servers when the the zone data is
# changed. Instead of setting a global 'notify' statement
# in the 'options' section, a separate 'notify' can be
# added to each zone definition.

notify no;

# erlaubt das zone-update zu ns.schlund.de und ns2.schlund.de
allow-transfer { 195.20.224.97; 195.20.225.34; };

};


# The following three zone definitions don't need any modification.
# The first one defines localhost while the second defines the
# reverse lookup for localhost. The last zone "." is the
# definition of the root name servers.

zone "168.160.217.in-addr.arpa" in {
type master;
file "s1-mbitmedia.rev";
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "." in {
type hint;
file "root.hint";
};

# Hier stehen die eigenen Domainnamen

zone "mbitmedia.de" in {
type hint;
file "mbitmedia.de.zone";
};

zone "mbit-media.de" in {
type hint;
file "mbit-media.de.zone";
};

zone "mbitmedia.com" in {
type hint;
file "mbitmedia.com.zone";
};

zone "mbit-media.com" in {
type hint;
file "mbit-media.com.zone";
};

# Hier stehen die Kunden Domainnamen

# KD100

Re: Nameserver wird nich akzeptiert, was ist nur falsch :/

Posted: 2003-01-29 22:10
by sascha
Dein Zonefile für die Kundendomain ist falsch.

Code: Select all

@ IN SOA ns.kundendomain.de. root.rootserver-domain.de. ( 
Hier muss ns.rootserverdomain.de stehen. Schließlich ist er ja authoritativ.

Außerdem kannst du das Zonefile für die rootserverdomain und die Reversezone ( in der ebenfalls ein Fehler ist) weglassen.

Re: Nameserver wird nich akzeptiert, was ist nur falsch :/

Posted: 2003-01-30 00:25
by dodolin
Dein Zonefile für die Kundendomain ist falsch.
Da ist noch einiges mehr falsch.

Code: Select all

zone "mbitmedia.de" in {
type hint;
file "mbitmedia.de.zone";
};
Das ist kein

Code: Select all

type hint;
, das sollte wohl

Code: Select all

type master;
heissen.

Code: Select all

man named.conf
sollte helfen... BTW:

Code: Select all

type hint;
ist ausschliesslich für eine Liste der Root-Nameserver, also die Zone "."