AW: [Postfixbuch-users] DNS-Problem

Olaf Baumgärtner olaf at baumgaertner-net.de
Di Okt 29 21:27:22 CET 2002



-----Ursprüngliche Nachricht-----
Von: postfixbuch-users-bounces at listi.jpberlin.de
[mailto:postfixbuch-users-bounces at listi.jpberlin.de]Im Auftrag von Peer
Heinlein
Gesendet: Dienstag, 29. Oktober 2002 20:55
An: postfixbuch-users at listi.jpberlin.de
Betreff: Re: [Postfixbuch-users] DNS-Problem


Antwort auf Nachricht von olaf at baumgaertner-net.de (Olaf Baumgärtner):

> Dies habe ich auch mit Transport geregelt.
>  z.B. netcologne.de     smtp:mailstore.netzwerk.local

Korrekt.

> Hier meine Zonendatei:
>
> $TTL 86400      ; 86000 Sekunden alias 1D = 1 Tag.
> @ IN SOA	router.netzwerk.local.   root.netzwerk.local. (
###########################################################
Was sagt denn named.conf?

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";
};

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

zone "netzwerk.local" {
	type master;
	file "netzwerk.local.hosts";
	allow-update { none; };
	allow-transfer { none; };
	allow-query { any; };
};
###########################################################
Was steht in /var/log/messages wenn Du named startest?
Wird dort vermerkt, daß die Zone netzwerk.local geladen worden ist?

Oct 29 22:14:35 router /usr/sbin/named[4498]: starting BIND 9.1.3
Oct 29 22:14:35 router /usr/sbin/named[4498]: using 1 CPU
Oct 29 22:14:35 router /usr/sbin/named[4500]: loading configuration from
'/etc/named.conf'
Oct 29 22:14:35 router /usr/sbin/named[4500]: the default for the
'auth-nxdomain' option is now 'no'
Oct 29 22:14:35 router /usr/sbin/named[4500]: listening on IPv6 interfaces,
port 53
Oct 29 22:14:35 router /usr/sbin/named[4500]: listening on IPv4 interface
lo, 127.0.0.1#53
Oct 29 22:14:35 router /usr/sbin/named[4500]: binding TCP socket: address in
use
Oct 29 22:14:35 router /usr/sbin/named[4500]: listening on IPv4 interface
eth0, 192.168.2.22#53
Oct 29 22:14:35 router /usr/sbin/named[4500]: binding TCP socket: address in
use
Oct 29 22:14:35 router /usr/sbin/named[4500]: listening on IPv4 interface
eth1, 192.168.0.1#53
Oct 29 22:14:35 router /usr/sbin/named[4500]: binding TCP socket: address in
use
Oct 29 22:14:35 router /usr/sbin/named[4500]: listening on IPv4 interface
ppp0, 213.168.118.22#53
Oct 29 22:14:35 router /usr/sbin/named[4500]: binding TCP socket: address in
use
Oct 29 22:14:35 router /usr/sbin/named[4500]: running
###########################################################
Was sagt "dig router.netzwerk.local"?

router:~ # dig router.netzwerk.local

; <<>> DiG 9.1.3 <<>> router.netzwerk.local
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6073
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;router.netzwerk.local.         IN      A

;; AUTHORITY SECTION:
.                       86400   IN      SOA     A.ROOT-SERVERS.NET.
NSTLD.VERISI
GN-GRS.COM. 2002102900 1800 900 604800 86400

;; Query time: 225 msec
;; SERVER: 194.8.194.60#53(194.8.194.60)
;; WHEN: Tue Oct 29 22:15:55 2002
;; MSG SIZE  rcvd: 114
###########################################################



> Oct 29 21:24:43 router postfix/smtp[4261]: 49A381AE2A:
> to=<olaf at netcologne.de>, relay=none, delay=5, status=bounced (Name service
> error for mailstore.netzwerk.local: Host not found)

###########################################################
Was steht in /etc/resolv.conf?

nameserver 194.8.194.60 #Beide vom Provider
nameserver 213.168.112.60
###########################################################
Läuft etwas chrooted? Ist resolv.conf in der chroot-Umgebung veraltet?

Nur Postfix, so wie es im Buch steht.
###########################################################
Was sagt "dig router.netzwerk.local" auf dem Postfix-Server?

siehe oben, wenn ich die Frage jetzt als doppelt verstehe
###########################################################
> Wo ist das Problem?

Dein DNS geht nicht. :-) #Schnieff ;-)

Peer


Gruss

Olaf



Mehr Informationen über die Mailingliste Postfixbuch-users