MySQL-Problem, Denic-Update hatte DNS-Fehler

Bind, PowerDNS
Post Reply
chrisg
Posts: 58
Joined: 2003-11-24 09:16
 

MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by chrisg »

Hallo,

ich habe seit ein paar Tagen Probleme mit der MySQL-Datenbank eines Benutzers. Da die DB bei den anderen Benutzern einwandfrei läuft habe ich mal ein Denic-Update gemacht, welches einen DNS-Fehler aufweist. Woran kann das liegen ?

/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/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 { 195.20.224.97; 195.20.225.34; };
};

# 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 "222.160.217.in.addr.arpa" in {
	type master;
	file "217.160.222.zone";
};

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

zone "ho-handball.de" in {
type master;
file "default.hosts";
};

zone "hsg-weserbergland.de" in {
type master;
file "default.hosts";
};

zone "vfl-hessisch-oldendorf.de" in {
type master;
file "default.hosts";
};

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

zone "clan-mor.de" in {
type master;
file "default.hosts";
};

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

zone "ultimative-spasstruppe.de" in {
type master;
file "default.hosts";
};

zone "dennis-karjetta.de" in {
type master;
file "default.hosts";
};

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

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

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

zone "fahrschule-heidorn.de" in {
type master;
file "default.hosts";
};
/var/named/127.0.0.zone:

Code: Select all

$TTL 1W
@		IN SOA		localhost.   root.localhost. (
				42		; serial (d. adams)
				2D		; refresh
				4H		; retry
				6W		; expiry
				1W )		; minimum

		IN NS		localhost.
1		IN PTR		localhost.
/var/named/217.160.222.zone:

Code: Select all

$TTL 1W
@		IN SOA		ns.ho-media.de.   root.ho-media.de. (
				2004012401	; serial
				8H		; refresh
				2H		; retry
				1W		; expiry
				11H )		; minimum

		IN NS		ns
		IN NS		ns.schlund.de.
190		IN PTR		ho-media.de.
/var/named/localhost.zone:

Code: Select all

$TTL 1W
@		IN SOA	@   root (
				42		; serial (d. adams)
				2D		; refresh
				4H		; retry
				6W		; expiry
				1W )		; minimum

		IN NS		@
		IN A		127.0.0.1
/var/named/default.hosts:

Code: Select all

$TTL 1W
@		IN SOA		ns.ho-media.de.   root (
				2004012401	; serial
				8H		; refresh
				2H		; retry
				1W		; expiry
				11H )		; minimum

		IN NS		ns.ho-media.de.
		IN NS		ns.schlund.de.
		IN MX		10 mail.ho-media.de.
		IN MX		20 mxXY.schlund.de.
		IN A		217.160.222.190
*		IN A		217.160.222.190
Liegt es evtl. daran, dass die Klammer in den Dateien vor dem "; minimum" schließt ? Oder was ist falsch ?

Fehlermeldung bei Providerdomain.de:

Code: Select all

   
 
2004-01-25 01:07:31.0 DENIC Re UPDATE /
 notok - errors  The domain clan-mor.de has NOT been updated. The following errors were detected: == SERVER ns.ho-media.de. == Server: ho-media.de Address: 217.160.222.190 Query about clan-mor.de for record types ANY Trying clan-mor.de ... Nameserver ho-media.de not running clan-mor.de ANY record not found at ho-media.de, try again ns.ho-media.de.: NOT AUTHORITATIVE for the zone clan-mor.de == END == == SERVER ns.schlund.de. == Server: ns.schlund.de Address: 195.20.224.97 Query about clan-mor.de for record types ANY Trying clan-mor.de ... Query failed, 0 answers, status: no error Authority information: de 65578 IN NS d.de.net de 65578 IN NS e.nic.de de 65578 IN NS f.nic.de de 65578 IN NS g.de.net de 65578 IN NS h.nic.de de 65578 IN NS i.de.net de 65578 IN NS j.nic.de de 65578 IN NS k.nic.de de 65578 IN NS a.nic.de de 65578 IN NS b.de.net de 65578 IN NS c.de.net Additional information: d.de.net 80462 IN A 81.91.162.5 e.nic.de 80494 IN A 193.171.255.34 f.nic.de 80488 IN A 193.0.0.237 g.de.net 80472 IN A 62.53.3.68 h.nic.de 80492 IN A 192.36.144.211 i.de.net 80492 IN A 206.65.170.100 j.nic.de 80468 IN A 66.35.208.44 k.nic.de 80478 IN A 210.81.13.179 a.nic.de 48816 IN AAAA 2001:608:6:0:0:0:0:5 a.nic.de 80483 IN A 81.91.161.5 b.de.net 60579 IN A 194.97.99.44 c.de.net 80458 IN A 193.159.170.187 clan-mor.de ANY record currently not present at ns.schlund.de ns.schlund.de.: NOT AUTHORITATIVE for the zone clan-mor.de == END == The servers don''t have all the same primary! Server ns.ho-media.de. is not authoritative! Server ns.schlund.de. is not authoritative! 
fatbone
Posts: 6
Joined: 2003-02-07 17:49
Location: Esslingen
Contact:
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by fatbone »

Zu deinem DNS erhalte ich keine Verbindung und die DENIC wohl auch nicht:

Code: Select all

fatbone@p15107314:~$ host -t any clan-mor.de ns.ho-media.de
;; connection timed out; no servers could be reached
liegt wohl daran das kein Eintrag in der named.conf für die clan-mor.de ist.
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by oxygen »

Was soll das mit MySQL zu tun haben?
fatbone
Posts: 6
Joined: 2003-02-07 17:49
Location: Esslingen
Contact:
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by fatbone »

øxygen wrote:Was soll das mit MySQL zu tun haben?
Was hat MySQL mit den DNS Problem zutun?
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by wgot »

Hallo,

wundert mich auch, daß man bei einem DB-Problem mal ein Denic-Update macht.

Der NS kennt aber überhaupt nix, entweder Firewall dicht, oder der Nameserver läuft garnicht. ich würd ihn mal starten. :oops:

Gruß, Wolfgang
chrisg
Posts: 58
Joined: 2003-11-24 09:16
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by chrisg »

Also gestartet ist der Nameserver - rcnamed restart :)

Auf das Problem mit dem DNS bin ich gekommen, weil der Zugriff auf die Datenbank so lange dauert. Hatte also - ehrlich gesagt - den Verdacht, dass es auch am Nameserver liegen kann, weil die DB nur über eine Subdomain-Seite angesteuert wird...



In der named.conf steht doch

Code: Select all

zone "clan-mor.de" in { 
type master; 
file "default.hosts"; 
}; 
Oder was ist mit dem fehlenden Eintrag gemeint ?
wgot
Posts: 1675
Joined: 2003-07-06 02:03
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by wgot »

Hallo,

jetzt läuft er und ist auch korrekt eingerichtet. Denic-Update mit ns.ho-media.de ohne IP und Sec. bei Schlund sollte durchlaufen.

Heute Mittag lief der NS nicht.

Der Eintrag war gemeint.

Gruß, Wolfgang
chrisg
Posts: 58
Joined: 2003-11-24 09:16
 

Re: MySQL-Problem, Denic-Update hatte DNS-Fehler

Post by chrisg »

Danke Wolfgang,

ich hab oben aber nichts geändert, der Eintrag war die ganze Zeit über drin !!! Wenn ich wüsste, woran das nun wieder gelegen hat ...

Wie gesagt, der Nameserver war die ganze Zeit an...

Naja, hauptsache es funzt jetzt!

Danke Euch allen !!!
Post Reply