🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #12388

debian: dynamic dns - dhcp-dns

#12388
From: Daniel Stirnimann
Date: Mon, 16 Jul 2001 21:36
84 lines
6926 bytes
Hallo Zusammen

Ich habe auf meinem Server (Debian Potatoe 2.2r3) bind (8.2.3-0) und auch
dhcpd (2.0pl4-2) am laufen. So weit so gut. Vor kurzen installierte und konfigurierte
ich das Packet dhcp-dns (0.50-3). Nat�rlich passte ich die Zone Eintr�ge
an (named.conf) um updates von localhost zuzulassen auch andere Hinweise
nahm ich mir aus /usr/doc/dhcp-dns/* zu Herzen.
Dynamic DNS l�uft eigentlich auch gut bis auf die kleinigkeit, dass es ab
und zu ein Problem beim restart gibt. Dies �ussert sich dann in einem
erneuten starten von named. Nach ein paar Tagen sind dann vielleicht
schon ca. 10 named Dienste gestartet etc. Nach einer Woche versagt dann
der named Dienst (DNS) komplett und ich muss die "alten" gestarteten
named Dienste per ps waux | grep named suchen und von hand killen.

Das syslog file sagt dar�ber folgendes 
(/var/log/syslog,/var/log/daemon.log):
Jul 16 12:12:01 sun /USR/SBIN/CRON[3977]: (root) CMD (/usr/sbin/ndc.cron.pl)
Jul 16 12:12:02 sun named[1567]: There may be a name server already running on [192.168.0.1].53
Jul 16 12:12:02 sun named[1567]: deleting interface [192.168.0.1].53
Jul 16 12:12:02 sun named[1567]: not listening on any interfaces
Jul 16 12:12:02 sun named[1567]: USAGE 995278322 995235123 CPU=0u/0s CHILDCPU=0u/0s
Jul 16 12:12:02 sun named[1567]: NSTATS 995278322 995235123
Jul 16 12:12:02 sun named[1567]: XSTATS 995278322 995235123 RR=1 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jul 16 12:12:02 sun named[3935]: There may be a name server already running on [192.168.0.1].53
Jul 16 12:12:02 sun named[3935]: deleting interface [192.168.0.1].53
Jul 16 12:12:02 sun named[3935]: not listening on any interfaces
Jul 16 12:12:02 sun named[3935]: Forwarding source address is [0.0.0.0].32815
Jul 16 12:12:02 sun named[3944]: There may be a name server already running on [192.168.0.1].53
Jul 16 12:12:02 sun named[3944]: deleting interface [192.168.0.1].53
Jul 16 12:12:02 sun named[3944]: not listening on any interfaces
Jul 16 12:12:02 sun named[3944]: Forwarding source address is [0.0.0.0].32816
Jul 16 12:12:02 sun named[3980]: Ready to answer queries.
Jul 16 12:12:02 sun named[3979]: Ready to answer queries.
Jul 16 12:12:03 sun named[3953]: There may be a name server already running on [192.168.0.1].53
Jul 16 12:12:03 sun named[3953]: deleting interface [192.168.0.1].53
Jul 16 12:12:03 sun named[3953]: not listening on any interfaces
Jul 16 12:12:03 sun named[3953]: Forwarding source address is [0.0.0.0].32818
Jul 16 12:12:03 sun named[3981]: Ready to answer queries.
Jul 16 12:12:03 sun named[3981]: named shutting down
Jul 16 12:12:03 sun named[3981]: USAGE 995278323 995278323 CPU=0u/0.02s CHILDCPU=0u/0s
Jul 16 12:12:03 sun named[3981]: NSTATS 995278323 995278323
Jul 16 12:12:03 sun named[3981]: XSTATS 995278323 995278323 RR=0 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jul 16 12:12:04 sun named[3987]: starting (/etc/bind/named.conf).  named 8.2.3-REL-NOESW Sat Jan 27 01:46:37 MST 2001 ^Ibdale@winfree:/home/bdale/debian/bind-8.2.3/src/bin/named
Jul 16 12:12:04 sun named[3987]: hint zone "" (IN) loaded (serial 0)
Jul 16 12:12:04 sun named[3987]: Zone "0.0.127.in-addr.arpa" (file 127.0.0): No default TTL ($TTL <value>) set, using SOA minimum instead
Jul 16 12:12:04 sun named[3987]: master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1)
Jul 16 12:12:04 sun named[3987]: master zone "stirnimann.home" (IN) loaded (serial 199803145)
Jul 16 12:12:04 sun named[3987]: master zone "0.168.192.in-addr.arpa" (IN) loaded (serial 199803148)
Jul 16 12:12:04 sun named[3986]: starting (/etc/bind/named.conf).  named 8.2.3-REL-NOESW Sat Jan 27 01:46:37 MST 2001 ^Ibdale@winfree:/home/bdale/debian/bind-8.2.3/src/bin/named
Jul 16 12:12:04 sun named[3986]: hint zone "" (IN) loaded (serial 0)
Jul 16 12:12:04 sun named[3986]: Zone "0.0.127.in-addr.arpa" (file 127.0.0): No default TTL ($TTL <value>) set, using SOA minimum instead
Jul 16 12:12:04 sun named[3986]: master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1)
Jul 16 12:12:04 sun named[3986]: master zone "stirnimann.home" (IN) loaded (serial 199803145)
Jul 16 12:12:04 sun named[3986]: master zone "0.168.192.in-addr.arpa" (IN) loaded (serial 199803148)
Jul 16 12:12:04 sun named[3986]: ctl_server: bind: /var/run/ndc: Address already in use
Jul 16 12:13:01 sun /USR/SBIN/CRON[3989]: (root) CMD (/usr/sbin/ndc.cron.pl)
Jul 16 12:14:01 sun /USR/SBIN/CRON[3991]: (root) CMD (/usr/sbin/ndc.cron.pl)
Jul 16 12:14:04 sun named[3987]: There may be a name server already running on [127.0.0.1].53
Jul 16 12:14:04 sun named[3987]: deleting interface [127.0.0.1].53
Jul 16 12:14:04 sun named[3986]: There may be a name server already running on [127.0.0.1].53
Jul 16 12:15:01 sun /USR/SBIN/CRON[3996]: (root) CMD (/usr/sbin/ddns.cron.pl)
Jul 16 12:15:01 sun /USR/SBIN/CRON[4001]: (root) CMD (/usr/sbin/ddns.cron.pl)
Jul 16 12:15:01 sun /USR/SBIN/CRON[4002]: (root) CMD (/usr/sbin/ndc.cron.pl)

DNS Server ist als Forward Server eingerichtet plus die interne Zone.
Ich denke nicht, dass es ein DNS, DHCP Problem ist, da ich, wenn ich das
dhcp-dns script nicht starte keine probleme habe.

Die Crontab schaut �brigens so aus:
# Dynamic DNS Entries
*/5 *	* * *		/usr/sbin/ddns.cron.pl
* */4	* * *		/usr/sbin/ndc.cron.pl

Mich wundert es, dass ich auf Google keine �hnlichen Probleme gefunden
habe. Kann doch nicht sein, dass ich der einzige mit dem Problem bin.
Dies ist der erste Service, der mir unerkl�rlich unter Debian spinnt...

Ich bin auch offen f�r andere L�sungen. Ich weiss zwar, dass der neuste
dhcpd dynamic update kann, doch ist dieses packet leider noch nicht f�r
potatoe erh�tlich. Also, kommt diese L�sung eher nicht in Frage.

Vielen Dank f�r eure Bem�hungen

Gruss Dani
Technical Details
Message-ID: <20010716.233614.776532036.6620@sun.stirnimann.home>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!imp.ch!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,db89c27d53181263,start
X-Google-Attributes: gidf4b73,public
X-Google-ArrivalTime: 2001-07-16 14:36:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!imp.ch!not-for-mail
From: "Daniel Stirnimann" <woop@mail.com>
Newsgroups: ch.comp.os.linux
Subject: debian: dynamic dns - dhcp-dns
Date: Mon, 16 Jul 2001 23:36:22 +0200
Organization: ImproWare AG Network Services - Usenet News Service
Lines: 84
Message-ID: <20010716.233614.776532036.6620@sun.stirnimann.home>
NNTP-Posting-Host: 212.59.154.193
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Pan/0.9.6 (Unix)