DNS-Update bei Serverwechsel schlägt fehl

Bind, PowerDNS
referee
Posts: 15
Joined: 2004-06-18 01:31

DNS-Update bei Serverwechsel schlägt fehl

Post by referee » 2004-08-24 01:20

Hallo,

ich habe meine Domains bei Schlundtec und zwei Server (einen alten und einen neuen) von 1und1.

Nun will ich die Domains vom alten Server nehmen und auf den neuen "umconnectieren".

Dazu habe ich einfach "ns.domaintuning.de" (Domain des neuen Servers) eingesetzt, doch das Update schlug fehl. Ich gehe mal davon aus,dass ich irgendwo einen Fehler beim Nameserver des neuen Servers gemacht habe und möchte Euch bitten mir zu sagen, wo dieser Fehler sein kann/soll.

PS: Damit die Domains erstmal wieder erreichbar sind habe ich sie per erneutem Update auf den alten Server zurückgelegt.

Domain neuer Server: domaintuning.de
IP des neuen Servers: 82.165.35.209

/etc/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/lib/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 { any; }; 
};

# 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 "." in {
	type hint;	
	file "root.hint";
};

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

zone "35.165.82.in.addr.arpa" in {
	type master;
	file "82.165.35.zone";
};

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

zone "handballreferee.com" in {
type master;
file "default.hosts";
};
/var/lib/named/default.hosts:

Code: Select all

$TTL 1W
@		IN SOA		ns.domaintuning.de.   root (
				2004082301	; serial
				8H		; refresh
				2H		; retry
				1W		; expiry
				11H )	        ; minimum

		IN NS		ns.domaintuning.de.
		IN NS		ns.schlund.de.
		IN MX		10 mail.domaintuning.de.
		IN A		82.165.35.209
*		IN A		82.165.35.209
/var/lib/named/82.165.35.zone:

Code: Select all

$TTL 1W
@		IN SOA		ns.domaintuning.de.   root.domaintuning.de. (
				2004081901	; serial
				8H		; refresh
				2H		; retry
				1W		; expiry
				11H )		; minimum

		IN NS		ns
		IN NS		ns.schlund.de.
190		IN PTR		domaintuning.de.
/var/log/messages:

Code: Select all

Aug 23 21:34:40 p15163800 named[18045]: shutting down: flushing changes
Aug 23 21:34:40 p15163800 named[18045]: stopping command channel on 127.0.0.1#953
Aug 23 21:34:40 p15163800 named[18045]: stopping command channel on ::1#953
Aug 23 21:34:40 p15163800 named[18045]: no longer listening on ::#53
Aug 23 21:34:40 p15163800 named[18045]: no longer listening on 82.165.35.209#53
Aug 23 21:34:40 p15163800 named[18045]: no longer listening on 127.0.0.1#53
Aug 23 21:34:40 p15163800 named[18045]: exiting
Aug 23 21:34:41 p15163800 named[21046]: starting BIND 9.2.3 -t /var/lib/named -u named
Aug 23 21:34:41 p15163800 named[21046]: using 1 CPU
Aug 23 21:34:42 p15163800 named[21046]: loading configuration from '/etc/named.conf'
Aug 23 21:34:42 p15163800 named[21046]: listening on IPv6 interfaces, port 53
Aug 23 21:34:42 p15163800 named[21046]: listening on IPv4 interface eth0, 82.165.35.209#53
Aug 23 21:34:42 p15163800 named[21046]: binding TCP socket: address in use
Aug 23 21:34:42 p15163800 named[21046]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 23 21:34:42 p15163800 named[21046]: binding TCP socket: address in use
Aug 23 21:34:42 p15163800 named[21046]: command channel listening on 127.0.0.1#953
Aug 23 21:34:42 p15163800 named[21046]: command channel listening on ::1#953
Aug 23 21:34:42 p15163800 named[21046]: zone 35.165.82.in.addr.arpa/IN: loaded serial 2004081901
Aug 23 21:34:42 p15163800 named[21046]: zone 0.0.127.in-addr.arpa/IN: loaded serial 42
Aug 23 21:34:42 p15163800 named[21046]: zone handballreferee.com/IN: loaded serial 2004082301
Aug 23 21:34:42 p15163800 named[21046]: zone handballreferee.de/IN: loaded serial 2004082301
/var/log/warn:

Code: Select all

Aug 23 17:48:51 p15163800 named[18045]: binding TCP socket: address in use
Aug 23 17:48:51 p15163800 named[18045]: binding TCP socket: address in use
Aug 23 21:34:42 p15163800 named[21046]: binding TCP socket: address in use
Aug 23 21:34:42 p15163800 named[21046]: binding TCP socket: address in use

andyman
Posts: 13
Joined: 2004-08-06 09:36

Re: DNS-Update bei Serverwechsel schlägt fehl

Post by andyman » 2004-08-26 09:46

Hi,

welche Fehlermeldung kommt bei schlundtech.

Gruss Andy

chrisg
Posts: 58
Joined: 2003-11-24 09:16

Re: DNS-Update bei Serverwechsel schlägt fehl

Post by chrisg » 2004-08-27 09:41

Hallo Andy,

der Suport von Schlund hat mir mittlerweile mitgeteilt, dass ich das Update nach Serialerhöhung und "rcnamed restart" wiederholen soll, was auch zu klappen scheint....

Trotzdem danke, dass Du geholfen hättest ... :wink: