WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 20.07.2002, 18:42   #1
teotmb
Veteran
 
Registriert seit: 26.10.2000
Beiträge: 387


Standard problem mit dns

hallo miteinander,

hab folgendes problem mit dns:
================================================== ===================
computer2:/var/log # nslookup computer2
Server: computer2.linnet
Address: 192.168.1.3

*** computer2.linnet can't find computer2: Server failed
================================================== ===================

Auszug aus der logdatei:
================================================== ===================
linnet.zone:10: Priority error near (computer2)
master zone "linnet" (IN) rejected due to errors (serial 2002071100)
================================================== ===================

die named.conf sieht folgendermaßen aus:
================================================== ===================
options {
directory "/var/named";
# statistics-interval 0;
notify no;
};

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

zone "1.168.192.in-addr.arpa" in {
type master;
file "192.168.1.zone";
};

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

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

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

die linnet.zone und 192.168.1.zone sehen folgendermaßen aus:
================================================== ===================
$TTL 2D
linnet. IN SOA computer2.linnet. root.linnet. (
2002071100 ; serial
1D ; refresh
2H ; retry
1W ; expiry
2D ) ; minimum

IN NS computer2
IN MX computer2

localhost IN A 127.0.0.1
computer0 IN A 192.168.1.1
computer1 IN A 192.168.1.2
computer2 IN A 192.168.1.3

bzw.

$TTL 2D
1.168.192.in-addr.arpa. IN SOA computer2.linnet. root.linnet. (
2002071100 ; serial
1D ; refresh
2H ; retry
1W ; expiry
2D ) ; minimum

IN NS computer2.linnet.

1 IN PTR computer0.linnet.
2 IN PTR computer1.linnet.
3 IN PTR computer2.linnet.
================================================== ===================

die resolv.conf hat dann noch folgende einträge
================================================== ===================
nameserver 192.168.1.3
nameserver 127.0.0.1
search linnet
================================================== ===================

hab mir zwar schon einige threads/links/handbuch zu dem thema angeschaut, bin aber immer noch nicht schlauer.

bitte um hilfe.

mfg,

teotmb
teotmb ist offline   Mit Zitat antworten
Alt 20.07.2002, 21:54   #2
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

naja, also die error meldung sagt, er nimmt dir die zone "linnet" nicht
Code:
linnet.zone:10: Priority error near (computer2) 
master zone "linnet" (IN) rejected due to errors (serial 2002071100)
also ist der fehler dort zu suchen.

so...

mal anschaun...

ich glaub ich habs

[edit] zu früh abgeschickt, wird nachgereicht *ausprobier*
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Alt 20.07.2002, 22:06   #3
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

so, kurzer auszug aus dem handbuch

du hast den fehler beim MX eintrag

6.3.2. Discussion of MX Records

As described above, domain servers store information as a series of resource records, each of which contains a particular piece of information about a given domain name (which is usually, but not always, a host). The simplest way to think of a RR is as a typed pair of data, a domain name matched with a relevant datum, and stored with some additional type information to help systems determine when the RR is relevant.

MX records are used to control delivery of email. The data specified in the record is a priority and a domain name. The priority controls the order in which email delivery is attempted, with the lowest number first. If two priorities are the same, a server is chosen randomly. If no servers at a given priority are responding, the mail transport agent will fall back to the next largest priority. Priority numbers do not have any absolute meaning — they are relevant only respective to other MX records for that domain name. The domain name given is the machine to which the mail will be delivered. It must have an associated A record — CNAME is not sufficient.

For a given domain, if there is both a CNAME record and an MX record, the MX record is in error, and will be ignored. Instead, the mail will be delivered to the server specified in the MX record pointed to by the CNAME.
Code:
example.com.   IN  MX  10  mail.example.com.
               IN  MX  10  mail2.example.com.
               IN  MX  20  mail.backup.org.


mail.example.com. IN A 10.0.0.1
mail2.example.com. IN A 10.0.0.2
For example:

Mail delivery will be attempted to mail.example.com and mail2.example.com (in any order), and if neither of those succeed, delivery to mail.backup.org will be attempted.


also füge in der zeile

IN MX computer2

irgendeine zahl hinzu, und es sollte kein problem mehr geben

sollte dann so ausschauen:

IN MX 10 computer2
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Alt 20.07.2002, 23:14   #4
teotmb
Veteran
 
Registriert seit: 26.10.2000
Beiträge: 387


Standard

danke, ich glaub ich sollt mir mal eine brille zulegen

mfg,

teotmb
teotmb ist offline   Mit Zitat antworten
Alt 21.07.2002, 00:03   #5
valo
Inventar
 
Registriert seit: 15.11.2000
Alter: 43
Beiträge: 7.684


Standard

Zitat:
Original geschrieben von teotmb
danke, ich glaub ich sollt mir mal eine brille zulegen

mfg,

teotmb
bitte sehr

bei fragen zu ihrer brille hilft sicher der optiker...
____________________________________
Yeah, yo mama dresses you funny and you need a mouse to delete files.
Jabber-ID: valo [at] cargal \'.\' org

Infected Mushroom and Barri Saharof - Live in Eilat Desert Israel 24-10-2002
A*S*Y*S - SSL-Pickup 21-10-2002
Dj Tiesto - Forbidden Paradise 8/Mystic Swamp
valo ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 04:50 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag