linux-l: So, alles gekldrt und ich bin fast gl|cklich!

Kay Molkenthin molkiheg at cetus.zrz.TU-Berlin.DE
Fr Jun 19 17:16:25 CEST 1998


Hi,

ich bin erst heute dazu gekommen die Sache auszuprobieren und... es
läuft!

Komischerweise nicht ganz so, wie du mir gemailt hast. Wenn ich es so
konfiguriere, kann der nicht-Serverrechner nicht ins Internet bzw. es
gibt einen DNS-Fehler - der Server kann.

Jetzt mal Deine Konfigurationsdateien mit meinen Daten, wobei "petra"
(192.168.1.2) der Server und "kay" (192.168.1.1) mein Arbeitsrechner
ist:

Die Dateien auf "petra":

; /var/named/named.boot
;
directory /var/named

;type 		domain			source			file
;cache		.						named.root
primary		chaos.network					chaos.network.zone
primary		168.192.in-addr.arpa				chaos.network.rev.zone
primary		localhost					localhost.zone
primary		0.0.127.in-addr.arpa				localhost.rev.zone

forwarders	130.149.4.10 130.149.4.20
options forward only

Mit Link von /etc/named.boot->/var/named.boot

localhost.zone:

@		IN		SOA	petra.chaos.network. root.petra.chaos.network. (
					1	; serial
					36000	; refresh every 100 hours
					3600	; retry after 1 hour
					3600000	; expire after 42 days
					604800	; minimum 1 week
					)
		IN		NS	petra.chaos.network.
localhost.			IN	A	127.0.0.1

localhost.zone.rev:

@		IN		SOA	petra.chaos.network. root.petra.chaos.network. (
					1	; serial
					36000	; refresh every 100 hours
					3600	; retry after 1 hour
					3600000	; expire after 42 days
					604800	; minimum 1 week
					)
		IN		NS	petra.chaos.network.
1		IN		PTR	localhost.

chaos.network.zone:

@		IN		SOA	petra.chaos.network. root.petra.chaos.network. (
					1998061901	; serial
					28800	; refresh every 100 hours
					7200	; retry after 1 hour
					604800	; expire after 42 days
					86400	; minimum 1 week
					)
				NS	petra.chaos.network.
petra.chaos.network		IN	A	192.168.1.2
kay.chaos.network		IN	A	192.168.1.1

chaos.network.zone.rev:

@		IN		SOA	petra.chaos.network. root.petra.chaos.network. (
					1998061901	; serial
					28800	; refresh every 100 hours
					7200	; retry after 1 hour
					604800	; expire after 42 days
					86400	; minimum 1 week
					)
				NS	petra.chaos.network.
2.1				IN	PTR	petra.chaos.network.
1.1				IN	PTR	kay.chaos.network.

resolv.conf:

petra:

domain chaos.network
search chaos.network
#nameserver 127.0.0.1 Geht nicht!
nameserver 130.149.4.10 Das geht dann

kay:

domain chaos.network
search chaos.network
#nameserver 192.168.1.2 Geht nicht!
nameserver 130.149.4.10 Das geht

Oder mach ich immer noch was falsch???

Gruß Kay.
-- 
Kay Molkenthin   -   Ruesternallee 45   -   14050 Berlin [GERMANY]
Email:  molkiheg at sp.zrz.tu-berlin.de  /  Kay_Molkenthin at Bigfoot.de
------------------------------------------------------------------
Key fingerprint = A6 1E 73 E7 E7 77 75 E1  7C E6 EF AF 78 A6 6C 38




Mehr Informationen über die Mailingliste linux-l