Nameserver bind9 bitte um hilfe

Bind, PowerDNS
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Nameserver bind9 bitte um hilfe

Post by jojo8897 »

Ich habe ales nach http://www.netsecond.net/howto/index.ph ... 22&lang=de angelegt, hoffe ich jedenfalls :roll:

wenn ich
dig @217.160.xxx.xxx brockes48.de any
eingebe
kommt folgende meldung:
; <<>> DiG 9.2.0rc8 <<>> @217.160.xxx.xxx brockes48.de any
;; global options: printcmd
;; connection timed out; no servers could be reached
da stimmt doch wohl was nicht

hier mal die abgeänderten codes:
named.conf

Code: Select all

# 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;
        auth-nxdomain 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 "localhost" in {
        type master;
        file "localhost.zone";
};

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

zone "214.160.xxx.in-addr.arpa" in {
type master;
file "217.160.xxx.zone;
};

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

# You can insert further zone records for your own domains below.

zone "brockes48.de" {
type master;
file "default.hosts";
};

default.hosts:

Code: Select all

$TIL 1W
@               IN SOA  ns   hostmaster (
                        2003063000
                        8H
                        2H
                        1W
                        12H )
@               IN NS   ns
@               IN NS   ns.schlund.de.
@               IN A    217.160.xxx.xxx
*               IN A    217.160.xxx.xxx
@               IN MX   80 mx
*               IN MX   80 mx

217.160.xxx.xxx.zone:

Code: Select all

$TIL 1W
@               IN SOA  ns   hostmaster (
                        2003063000
$TIL 1W
@               IN SOA  ns.8unxxx.de.    root.8unxxx.de. (
                        20020225019     ; serial
                        8H              ; refresh
                        2H              ; retry
                        1W              ; expiry
                        12H)            ; minimum
                IN NS   ns
                IN NS   ns.schlund.de.
xxx             IN PTR  8unxxxx.de.
weitere meldungen:

pxxxxxxxxxx:/var/named # ps ax | grep named
12609 pts/0 S 0:00 grep named

pxxxxxxxxxx:/var/named # rcnamed status
Checking for nameserver bind9 unused

pxxxxxxxxxx:/var/named # rcnamed start
Starting name server bind9 done

hier noch die letzten einträge der var/log warn

Jan 19 21:22:47 pxxxxxxxxxx named[12639]: /etc/named.conf:94: missing ';' before '.'
Jan 19 21:22:47 pxxxxxxxxxx named[12639]: /etc/named.conf:94: unknown option '.'
Jan 19 21:22:47 pxxxxxxxxxx named[12639]: /etc/named.conf:104: unexpected end of input near '"; };'
Jan 19 21:22:47 pxxxxxxxxxx named[12639]: loading configuration: unexpected end of input
Jan 19 21:22:47 pxxxxxxxxxx named[12639]: exiting (due to fatal error)


wäre nett wenn mir wer helfen könnte!!!
sorry bin anfänger werde mich aber bemühen meinen teil hier beizutragen
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
Contact:
 

Re: Nameserver bind9 bitte um hilfe

Post by dodolin »

Jan 19 21:22:47 pxxxxxxxxxx named[12639]: /etc/named.conf:94: missing ';' before '.'
Jan 19 21:22:47 pxxxxxxxxxx named[12639]: /etc/named.conf:94: unknown option '.'
Jan 19 21:22:47 pxxxxxxxxxx named[12639]: /etc/named.conf:104: unexpected end of input near '"; };'
Die Zeilen 94 und 104 plus ein paar Zeilen drumrum solltest du uns schon zeigen, wenn wir dir helfen sollen. Nachdem ich deinen obigen Abschnitt gezählt habe, kommt ich nur auf ne Zeilenzahl von irgendwas mit 80...
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

105 ist die letzte zeile, dann fehlen welche am anfang
104 ist die letzte zeile in der was steht
zone "." in { <----- das ist Zeile 93
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: Nameserver bind9 bitte um hilfe

Post by wgot »

Hallo,
file "217.160.xxx.zone;
da fehlt ein Anführungszeichen vor dem Semikolon.
2003063000
die serial ist nicht aktuell --> 2004012000

Gruß, Wolfgang
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

danke das wars :-D *freu*

wie funz das mit der serial bzw woher kann ich sehen welch aktuell ist *duck* falls das so ne typische newbiefrage ist :)

thx
jojo
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: Nameserver bind9 bitte um hilfe

Post by wgot »

Hallo,

die Serial ist das Datum rückwärts (Jahr, Monat, Tag) und eine zweistellige Nummer, wie viele Ã?nderungen es an diesem Tag schon gab (man kann mit 0 oder 1 anfangen, ist egal):

JJJJMMTTnn

erste Ã?nderung heute: 2004012000, zweite heute 2004012001, erste morgen 2004012100 usw.

Gruß, Wolfgang
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

das ja einfach :P
dank dir wolfgang
pw
Posts: 39
Joined: 2002-10-08 08:32
 

Re: Nameserver bind9 bitte um hilfe

Post by pw »

wobei das mit der serial ja glaube ich nur ein quasistandard ist. eigentlich würde auch ein einfaches hochzählen langen. wobei die serial nach dem update höher sein muss um den ns zu signalisieren, dass ein update vorliegt.

CU PW
Anonymous
 

Serial

Post by Anonymous »

Ja die Seriennummer des SOA ( Start of Authority) Records muss fuer den Nameserver nur groesser sein wie die vorherige.

Ansonsten wird dieser vom Nameserver ignoriert und kein Update mehr fuer diese Zone vorgenommen.

Ueblicherweise wird das Format JJJJMMTTnn benutzt.

Gruss Stefan
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

Code: Select all

 The domain xxx.de has NOT been updated. The following errors were detected: == SERVER 8xxx.de == Server: 8xxx.de Address: 217.160.xxx.xxx Query about xxx.de for record types ANY Trying xxx.de ... Query failed, 0 answers, status: server failure xxx.de ANY record not found at 8xxx.de, server failure 8xxx.de.: NOT AUTHORITATIVE for the zone xxx.de == END == == SERVER ns.schlund.de. == Server: ns.schlund.de Address: 195.20.224.97 Query about xxx.de for record types ANY Trying xxx.de ... Query failed, 0 answers, status: no error Authority information: de 15087 IN NS h.nic.de de 15087 IN NS i.de.net de 15087 IN NS j.nic.de de 15087 IN NS k.nic.de de 15087 IN NS a.nic.de de 15087 IN NS b.de.net de 15087 IN NS c.de.net de 15087 IN NS d.de.net de 15087 IN NS e.nic.de de 15087 IN NS f.nic.de de 15087 IN NS g.de.net Additional information: h.nic.de 30884 IN A 192.36.144.211 i.de.net 30884 IN A 206.65.170.100 j.nic.de 30864 IN A 66.35.208.44 k.nic.de 30874 IN A 210.81.13.179 a.nic.de 30879 IN A 81.91.161.5 a.nic.de 85613 IN AAAA 2001:608:6:0:0:0:0:5 b.de.net 10975 IN A 194.97.99.44 c.de.net 30853 IN A 193.159.170.187 d.de.net 30857 IN A 81.91.162.5 e.nic.de 30889 IN A 193.171.255.34 f.nic.de 30884 IN A 193.0.0.237 g.de.net 30868 IN A 62.53.3.68 xxx.de ANY record currently not present at ns.schlund.de ns.schlund.de.: NOT AUTHORITATIVE for the zone xxx.de == END == The servers don''t have all the same primary! Server 8xxx.de. is not authoritative! Server ns.schlund.de. is not authoritative!  
kann mir da mal einer sagen was jetzt hier falschgelaufen ist ??? ich dachte der nameserver läuft, ist wohl doch nicht so.

vielen dank

evtl. hilft das ja noch:

Code: Select all

dig @217.160.xxx.xxx rotejxxxx.de any

; <<>> DiG 9.2.0rc8 <<>> @217.160.xxx.xxx rotejxxx.de any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 61370
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;rotejxxx.de.                 IN      ANY

;; Query time: 3 msec
;; SERVER: 217.160.xxx.xxx#53(217.160.xxx.xxx)
;; WHEN: Mon Jan 26 10:26:40 2004
;; MSG SIZE  rcvd: 31
hier noch von ns.schlund

Code: Select all

; <<>> DiG 9.2.0rc8 <<>> @ns.schlund.de rotejxxx.de any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30317
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 11, ADDITIONAL: 12

;; QUESTION SECTION:
;rotejxxx.de.                 IN      ANY

;; AUTHORITY SECTION:
de.                     31438   IN      NS      e.nic.de.
de.                     31438   IN      NS      f.nic.de.
de.                     31438   IN      NS      g.de.net.
de.                     31438   IN      NS      h.nic.de.
de.                     31438   IN      NS      i.de.net.
de.                     31438   IN      NS      j.nic.de.
de.                     31438   IN      NS      k.nic.de.
de.                     31438   IN      NS      a.nic.de.
de.                     31438   IN      NS      b.de.net.
de.                     31438   IN      NS      c.de.net.
de.                     31438   IN      NS      d.de.net.

;; ADDITIONAL SECTION:
e.nic.de.               46216   IN      A       193.171.255.34
f.nic.de.               46210   IN      A       193.0.0.237
g.de.net.               46194   IN      A       62.53.3.68
h.nic.de.               46216   IN      A       192.36.144.211
i.de.net.               46216   IN      A       206.65.170.100
j.nic.de.               46190   IN      A       66.35.208.44
k.nic.de.               46200   IN      A       210.81.13.179
a.nic.de.               14538   IN      AAAA    2001:608:6::5
a.nic.de.               46207   IN      A       81.91.161.5
b.de.net.               26302   IN      A       194.97.99.44
c.de.net.               46183   IN      A       193.159.170.187
d.de.net.               46186   IN      A       81.91.162.5

;; Query time: 348 msec
;; SERVER: 195.20.224.97#53(ns.schlund.de)
;; WHEN: Mon Jan 26 10:39:09 2004
;; MSG SIZE  rcvd: 421
dr. groovy
Posts: 53
Joined: 2002-05-21 23:10
Location: Frankfurt am Main
Contact:
 

Re: Nameserver bind9 bitte um hilfe

Post by dr. groovy »

Moin!

1.) Irgendwas stimmt an deinem Bind nicht.
2.) Hat der Schlund NS auch nicht deine Daten.
3.) Mit xxx Daten kann man kaum helfen.

gruß,

Dr. Groovy
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

ok hier mal alle daten und dateien:
named.conf

Code: Select all

... # 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 "localhost" in {
        type master;
        file "localhost.zone";
};

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

zone "214.160.217.in-addr.arpa" in {
type master;
file "217.160.214.zone";
};

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

# You can insert further zone records for your own domains below.

zone "rotejaeger.de" {
type master;
file "default.hosts";
};

zone "versand.8und40.de" {
type master;
file "default.hosts";
};

zone "8und40.de" {
type master;
file "default.host";
};

217.*.zone

Code: Select all

$TIL 1W
@               IN SOA  ns.8und40.de.    root.8und40.de. (
                        20020225019     ; serial
                        8H              ; refresh
                        2H              ; retry
                        1W              ; expiry
                        12H)            ; minimum
                IN NS   ns
                IN NS   ns.schlund.de.
173             IN PTR  8und40.de.
defaults.host

Code: Select all

$TIL 1W
@               IN SOA  ns   hostmaster (
                        2004012303
                        8H
                        2H
                        1W
                        12H )
@               IN NS   ns
@               IN NS   ns.schlund.de.
@               IN A    217.160.214.173
*               IN A    217.160.214.173
@               IN MX   80 mx
*               IN MX   80 mx
wenn ihr noch was braucht sagt bescheid
danke
jojo
dr. groovy
Posts: 53
Joined: 2002-05-21 23:10
Location: Frankfurt am Main
Contact:
 

Re: Nameserver bind9 bitte um hilfe

Post by dr. groovy »

wie heißt jetzt die zonendatei?
default.host oder default.hosts
in der named.conf gibt es zwei unterschiedliche angaben.
Und falls die Datei nicht existiert, startet er nicht.
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

default.hosts heißt sie

hier mal die warn aus /var/log

Code: Select all

...
Jan 26 10:49:54 p15148413 named[13844]: none:0: open: /etc/rndc.key: file not found
Jan 26 10:49:54 p15148413 named[13844]: dns_master_load: 217.160.214.zone:1: unknown $ directive '$TIL'
Jan 26 10:49:54 p15148413 named[13844]: zone 214.160.217.in-addr.arpa/IN: loading master file 217.160.214.zone: syntax error
Jan 26 10:49:54 p15148413 named[13844]: zone 8und40.de/IN: loading master file default.host: file not found
Jan 26 10:49:54 p15148413 named[13844]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 10:49:54 p15148413 named[13844]: zone versand.8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 10:49:54 p15148413 named[13844]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 10:49:54 p15148413 named[13844]: zone rotejaeger.de/IN: loading master file default.hosts: syntax error
Jan 26 12:35:17 p15148413 named[14676]: none:0: open: /etc/rndc.key: file not found
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: 217.160.214.zone:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone 214.160.217.in-addr.arpa/IN: loading master file 217.160.214.zone: syntax error
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone 8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone versand.8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone rotejaeger.de/IN: loading master file default.hosts: syntax error
messages

Code: Select all

Jan 26 12:35:12 p15148413 named[13844]: shutting down
Jan 26 12:35:12 p15148413 named[13844]: no longer listening on 127.0.0.1#53
Jan 26 12:35:12 p15148413 named[13844]: no longer listening on 217.160.214.173#53
Jan 26 12:35:12 p15148413 named[13842]: exiting
Jan 26 12:35:17 p15148413 named[14674]: starting BIND 9.2.0rc8
Jan 26 12:35:17 p15148413 named[14674]: using 1 CPU
Jan 26 12:35:17 p15148413 named[14676]: loading configuration from '/etc/named.conf'
Jan 26 12:35:17 p15148413 named[14676]: no IPv6 interfaces found
Jan 26 12:35:17 p15148413 named[14676]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 26 12:35:17 p15148413 named[14676]: listening on IPv4 interface eth0, 217.160.214.173#53
Jan 26 12:35:17 p15148413 named[14676]: none:0: open: /etc/rndc.key: file not found
Jan 26 12:35:17 p15148413 named[14676]: couldn't add command channel 0.0.0.0#953: file not found
Jan 26 12:35:17 p15148413 named[14676]: zone 0.0.127.in-addr.arpa/IN: loaded serial 42
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: 217.160.214.zone:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone 214.160.217.in-addr.arpa/IN: loading master file 217.160.214.zone: syntax error
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone 8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone versand.8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:35:17 p15148413 named[14676]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:35:17 p15148413 named[14676]: zone rotejaeger.de/IN: loading master file default.hosts: syntax error
Jan 26 12:35:17 p15148413 named[14676]: zone localhost/IN: loaded serial 42
Jan 26 12:35:17 p15148413 named[14676]: running
Jan 26 12:36:00 p15148413 /USR/SBIN/CRON[14681]: (root) CMD (/root/confixx/confixx_counterscript.pl)
Jan 26 12:37:00 p15148413 /USR/SBIN/CRON[14688]: (root) CMD (/root/confixx/confixx_counterscript.pl)
Jan 26 12:38:00 p15148413 /USR/SBIN/CRON[14703]: (root) CMD (/root/confixx/confixx_counterscript.pl)
Jan 26 12:39:00 p15148413 /USR/SBIN/CRON[14710]: (root) CMD (/root/confixx/confixx_counterscript.pl)
Jan 26 12:40:00 p15148413 /USR/SBIN/CRON[14722]: (root) CMD (/root/confixx/confixx_counterscript.pl)
Jan 26 12:41:00 p15148413 /USR/SBIN/CRON[14735]: (root) CMD (/root/confixx/confixx_counterscript.pl)
was hat das mit dem counterscript.pl auf sich ????
Last edited by jojo8897 on 2004-01-26 12:44, edited 1 time in total.
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: Nameserver bind9 bitte um hilfe

Post by wgot »

Hallo,
zone "8und40.de" {
type master;
file "default.host";
};
dann korrigiere diesen Eintrag default.hosts, starte den Nameserver, schau in die /var/log/warn nach Fehlermeldungen und prüfe mit Dig.

Gruß, Wolfgang
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

warn:

Code: Select all

Jan 26 12:46:04 p15148413 named[14840]: none:0: open: /etc/rndc.key: file not found
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: 217.160.214.zone:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone 214.160.217.in-addr.arpa/IN: loading master file 217.160.214.zone: syntax error
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone 8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone versand.8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone rotejaeger.de/IN: loading master file default.hosts: syntax error
messages:

Code: Select all

Jan 26 12:46:04 p15148413 named[14838]: starting BIND 9.2.0rc8
Jan 26 12:46:04 p15148413 named[14838]: using 1 CPU
Jan 26 12:46:04 p15148413 named[14840]: loading configuration from '/etc/named.conf'
Jan 26 12:46:04 p15148413 named[14840]: no IPv6 interfaces found
Jan 26 12:46:04 p15148413 named[14840]: listening on IPv4 interface lo, 127.0.0.1#53
Jan 26 12:46:04 p15148413 named[14840]: listening on IPv4 interface eth0, 217.160.214.173#53
Jan 26 12:46:04 p15148413 named[14840]: none:0: open: /etc/rndc.key: file not found
Jan 26 12:46:04 p15148413 named[14840]: couldn't add command channel 0.0.0.0#953: file not found
Jan 26 12:46:04 p15148413 named[14840]: zone 0.0.127.in-addr.arpa/IN: loaded serial 42
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: 217.160.214.zone:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone 214.160.217.in-addr.arpa/IN: loading master file 217.160.214.zone: syntax error
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone 8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone versand.8und40.de/IN: loading master file default.hosts: syntax error
Jan 26 12:46:04 p15148413 named[14840]: dns_master_load: default.hosts:1: unknown $ directive '$TIL'
Jan 26 12:46:04 p15148413 named[14840]: zone rotejaeger.de/IN: loading master file default.hosts: syntax error
Jan 26 12:46:04 p15148413 named[14840]: zone localhost/IN: loaded serial 42
Jan 26 12:46:04 p15148413 named[14840]: running
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

Anscheinend lag es am Tippfehler nicht $Til sondern $TTL
so wie es scheint läuft er jetzt ????
update beantragt
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

irgendetwas hab ich wohl doch noch falsch gemacht :oops:

Code: Select all

The domain rotejaeger.de has NOT been updated. The following errors were detected: Server ns.rotejaeger.de. not in NS set! Server 8und40.de. not known by server 8und40.de.! Server ns.rotejaeger.de. not in NS set! Server 8und40.de. not known by server ns.schlund.de.!
kann mir wer sagen woran es liegen könnte ??
aufgefallen ist mir das ich bei meinem ns kein AUTHORITY bekomme ??

Code: Select all

; <<>> DiG 9.2.0rc8 <<>> @217.160.214.173 rotejaeger.de any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47944
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;rotejaeger.de.                 IN      ANY

;; ANSWER SECTION:
rotejaeger.de.          604800  IN      MX      80 mx.rotejaeger.de.
rotejaeger.de.          604800  IN      SOA     ns.rotejaeger.de. hostmaster.rotejaeger.de. 2004012602 28800 7200 604800 43200
rotejaeger.de.          604800  IN      NS      ns.schlund.de.
rotejaeger.de.          604800  IN      NS      ns.rotejaeger.de.
rotejaeger.de.          604800  IN      A       217.160.214.173

;; ADDITIONAL SECTION:
mx.rotejaeger.de.       604800  IN      A       217.160.214.173
ns.rotejaeger.de.       604800  IN      A       217.160.214.173

;; Query time: 3 msec
;; SERVER: 217.160.214.173#53(217.160.214.173)
;; WHEN: Mon Jan 26 17:57:07 2004
;; MSG SIZE  rcvd: 187

p15148413:/var/log # dig @ns.schlund.de rotejaeger.de any

; <<>> DiG 9.2.0rc8 <<>> @ns.schlund.de rotejaeger.de any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3400
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;rotejaeger.de.                 IN      ANY

;; ANSWER SECTION:
rotejaeger.de.          604800  IN      A       217.160.214.173
rotejaeger.de.          604800  IN      NS      ns.schlund.de.
rotejaeger.de.          604800  IN      NS      ns.rotejaeger.de.
rotejaeger.de.          604800  IN      MX      80 mx.rotejaeger.de.
rotejaeger.de.          604800  IN      SOA     ns.rotejaeger.de. hostmaster.rotejaeger.de. 2004012601 28800 7200 604800 43200

;; AUTHORITY SECTION:
rotejaeger.de.          604800  IN      NS      ns.schlund.de.
rotejaeger.de.          604800  IN      NS      ns.rotejaeger.de.

;; ADDITIONAL SECTION:
ns.schlund.de.          86400   IN      A       195.20.224.97
ns.rotejaeger.de.       604800  IN      A       217.160.214.173
mx.rotejaeger.de.       604800  IN      A       217.160.214.173

;; Query time: 3 msec
;; SERVER: 195.20.224.97#53(ns.schlund.de)
;; WHEN: Mon Jan 26 17:57:42 2004
;; MSG SIZE  rcvd: 231
Last edited by jojo8897 on 2004-01-26 18:03, edited 1 time in total.
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: Nameserver bind9 bitte um hilfe

Post by wgot »

Hallo,

Dein Nameserver läuft nicht. Mach erstmal die Fehler raus, bis es keine Fehlermeldung in warn mehr gibt, vorher brauchst Du Updates nicht versuchen.

Die schon erwähnten $TTL korrigieren,
rndc.key suchen und nach /etc kopieren.
Nameserver starten und warn kontrollieren.

Gruß, Wolfgang
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

ja das hab ich alles gemacht, gibt keine fehlermeldungen mehr!!!
es lag nur an dem TTL

die rndc.key konnte ich nicht finden und habe sie einfach erstellt, sie ist jedoch leer

hab sie gerade mit rndc-confgen -a erstellt
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: Nameserver bind9 bitte um hilfe

Post by wgot »

Hallo,

dig @217.160.214.173 rotejaeger.de any

bringt nur einen Timeout.
Was passiert, wenn Du es auf deinem Server eintippst?
Hast Du eine Firewall laufen?

Gruß, Wolfgang
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

Das kommt bei mir, und nein ich hab noch keine fw am laufen, was jetzt hoffentlich nicht ausgenutzt wird :lol:

Code: Select all

p15148413:~ # dig @217.160.214.173 rotejaeger.de any

; <<>> DiG 9.2.0rc8 <<>> @217.160.214.173 rotejaeger.de any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9354
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;rotejaeger.de.                 IN      ANY

;; ANSWER SECTION:
rotejaeger.de.          604800  IN      MX      80 mx.rotejaeger.de.
rotejaeger.de.          604800  IN      SOA     ns.rotejaeger.de. hostmaster.rotejaeger.de. 2004012602 28800 7200 604800 43200
rotejaeger.de.          604800  IN      NS      ns.rotejaeger.de.
rotejaeger.de.          604800  IN      NS      ns.schlund.de.
rotejaeger.de.          604800  IN      A       217.160.214.173

;; ADDITIONAL SECTION:
mx.rotejaeger.de.       604800  IN      A       217.160.214.173
ns.rotejaeger.de.       604800  IN      A       217.160.214.173

;; Query time: 3 msec
;; SERVER: 217.160.214.173#53(217.160.214.173)
;; WHEN: Mon Jan 26 18:14:38 2004
;; MSG SIZE  rcvd: 187
ich hab allerdings in der name.conf das "allow query" mit nem # davor gelassen, kann es daran liegen ??
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: Nameserver bind9 bitte um hilfe

Post by wgot »

Hallo,

sieht vernünftig aus, kannst das Update wagen:
1.NS: ns.rotejaeger.de und die IP dazu
2.NS : Schlund

Das allow query kannst Du auskommentiert lassen, any ist default.
Ob eine Firewall sinnvoll ist, kannst Du unter Security nachlesen (IMHO nein).

Ich hab allerdings ein ganz merkwürdiges Problem: ich komm von meinem 1&1-Server nicht auf Deinen Server. Bei dig gibt's ein Timeout, und w3m http://217.160.214.173 hängt bei opening socket.

Geb ich die beiden Befehle auf meinem Zweitserver ein (nicht bei 1&1), klappt's problemlos.

Hat jemand eine Idee, was da faul ist?

Gruß, Wolfgang
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

was jetzt alle den portscanner ngeschmissen :oops: ich hoffe ihr nutz meine ahnungslosigkeit nicht aus :wink:
ich glaube ich bin kurz vor dem durchbruch, da kann doch ned mehr viel fehlen.

ups da haben wir wohl beide gleichzeitig geschrieben. :roll:
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

Re: Nameserver bind9 bitte um hilfe

Post by jojo8897 »

habe immer noch ein prob

Code: Select all

The domain rotejaeger.de has NOT been updated. The following errors were detected: Server ns.rotejaeger.de. not in NS set! Server 8und40.de. not known by server 8und40.de.! Server ns.rotejaeger.de. not in NS set! Server 8und40.de. not known by server ns.schlund.de.!
bitte helft mir :(
Post Reply