ich wende mich heute an euch, da ich echt nicht weiter komme. Hab mir hier schon vieles durchgelesen. Hab inzwischen einen Server von IPX. Hab Bind genauso installiert wie bei meinem 1&1-Server und die IP-Adressen angepasst. Dennoch scheint es nicht richtig zu funktionieren.
Alter Server:
Suse 7.2 mit Bind 9
Neuer Server:
Suse 9.0 mit Bind 9
Hier nun meine Konfigurationen:
named.conf
212.112.227.zone# Copyright (c) 2001-2003 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# Author: Frank Bodammer, Lars Mueller <lmuelle@suse.de>
#
# /etc/named.conf
#
options {
# The directory statement defines the name server's working directory
directory "/var/lib/named";
# Write dump and statistics file to the log subdirectory. The
# pathenames are relative to the chroot jail.
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
# 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 { 192.0.2.1; 192.0.2.2; };
# 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; 212.112.227.38; };
# The listen-on-v6 record enables or disables listening on IPv6
# interfaces. Allowed values are 'any' and 'none' or a list of
# addresses.
#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; 212.112.227.38; };
# erlaubt das zone-update zu ns1.ipx-server.de und ns2.ipx-server.de
allow-transfer { 80.190.255.74; 80.190.254.2; };
auth-nxdomain no;
allow-recursion { 127.0.0.1; 212.112.227.38; };
# 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;
};
# The following zone definitions don't need any modification. The first one
# is the definition of the root name servers. The second one defines
# localhost while the third defines the reverse lookup for localhost.
zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "227.112.212.in-addr.arpa" in {
type master;
file "212.112.227.zone";
};
zone "si-lanparty.de" in {
type master;
file "si-lanparty.de.zone";
allow-query { any; };
};
# Include the meta include file generated by SuSEconfig.named. This includes
# all files as configured in NAMED_CONF_INCLUDE_FILES from
# /etc/sysconfig/named
include "/etc/named.conf.include";
# You can insert further zone records for your own domains below or create
# single files in /etc/named.d/ and add the file names to
# NAMED_CONF_INCLUDE_FILES.
# See /usr/share/doc/packages/bind/README.SuSE for more details.
si-lanparty.de.zone$TTL 1W
@ IN SOA ns.si-lanparty.de. root.si-lanparty.de. (
2004050102 ; serial
8H ; refresh
2H ; retry
1W ; expiry
11h) ; minimum
IN NS ns.si-lanparty.de.
IN NS ns1.ipx-server.de.
IN NS ns2.ipx-server.de.
38 IN PTR si-lanparty.de.
$TTL 1W
@ IN SOA ns.si-lanparty.de. root.si-lanparty.de. (
2004050102 ; serial
8H ; refresh
2H ; entry
1W ; expiry
11h ) ; minimum
;
; Zone name server records
;
IN NS ns.si-lanparty.de.
IN NS ns1.ipx-server.de.
IN NS ns2.ipx-server.de.
;
; Zone mail exchange records
;
IN MX 10 mx
;
; Zone records
;
IN A 212.112.227.38
mail IN A 212.112.227.38
ns IN A 212.112.227.38
* IN A 212.112.227.38
Soweit so gut. Dann habe ich folgendes probiert:
dig @localhost si-lanparty.de any
Wenn ich es mit folgendem probiere:; <<>> DiG 9.2.2 <<>> @localhost si-lanparty.de any
;; global options: printcmd
;; connection timed out; no servers could be reached
dig @212.112.227.38 si-lanparty.de any
Wenn ich so etwas auf meinem alten Server mit einer darauf liegenden Domain probiere, dann klappt das mit localhost. Zudem bekomme ich bei AUTHORITY: 2 keinen 0-Wert.; <<>> DiG 9.2.2 <<>> @212.112.227.38 si-lanparty.de any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34369
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;si-lanparty.de. IN ANY
;; ANSWER SECTION:
si-lanparty.de. 604800 IN SOA ns.si-lanparty.de. root.si-lanparty.de. 2004050102 28800 7200 604800 39600
si-lanparty.de. 604800 IN NS ns1.ipx-server.de.
si-lanparty.de. 604800 IN NS ns2.ipx-server.de.
si-lanparty.de. 604800 IN NS ns.si-lanparty.de.
si-lanparty.de. 604800 IN MX 10 mx.si-lanparty.de.
si-lanparty.de. 604800 IN A 212.112.227.38
;; ADDITIONAL SECTION:
ns.si-lanparty.de. 604800 IN A 212.112.227.38
mx.si-lanparty.de. 604800 IN A 212.112.227.38
;; Query time: 2 msec
;; SERVER: 212.112.227.38#53(212.112.227.38)
;; WHEN: Sat May 1 15:22:55 2004
;; MSG SIZE rcvd: 204
Hat jemand eine Idee, ob das so richtig ist oder wo mein Problem liegt???
Zudem möchte ich weiterhin den Domainservice von 1&1 nutzen. Muss ich da was beachten?