Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
djbdns stops working!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Fri Jul 16, 2004 10:27 am    Post subject: djbdns stops working! Reply with quote

I have had a working djbdns/tinydns setup for some time now and after an upgrade to the most recent version (1.05-r12) all appeared to be going well.


However, now things are just not resolving after about 2 minutes of it being started. If I do
Code:
/etc/init.d/svscan restart
everything works fine again, but I just can't think what could be causing this.


I can't continually be restarting the service every 2 minutes, so

any theories?
Back to top
View user's profile Send private message
andrew_j_w
Guru
Guru


Joined: 28 Jun 2003
Posts: 534
Location: York, UK

PostPosted: Fri Jul 16, 2004 12:02 pm    Post subject: Reply with quote

Does anything get put into your log file?

What happens if you manually try to resolve a hostname? (Using the <i>host</i> command)

Andrew
Back to top
View user's profile Send private message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Fri Jul 16, 2004 12:20 pm    Post subject: Reply with quote

when I ping while it is working, I get the usual nice messages


but I am also getting
Code:
2004-07-16 14:21:52.070368500 query 44 c0a81002:87b1:956c 1 webmail.ctu.local.
2004-07-16 14:21:52.070375500 cached 1 webmail.ctu.local.
2004-07-16 14:21:52.070376500 sent 44 51
2004-07-16 14:21:52.090983500 query 45 c0a81002:87b1:956d 1 webmail.ctu.local.
...
2004-07-16 14:21:59.661492500 query 53 c0a81002:87b1:9575 1 webmail.ctu.local.
2004-07-16 14:21:59.661500500 cached 1 webmail.ctu.local.
2004-07-16 14:21:59.661501500 sent 53 51


intermittently in the log (where webmail is another computer on my network)

but it stops working (I imagine from being bogged down by requests) with THIS in the log:
Code:
2004-07-16 14:23:25.660837500 tx 0 33 _ldap._tcp.default-first-site-name._sites.dc._msdcs.ctunit.local. local. c0a81002
2004-07-16 14:23:25.660839500 query 123 c0a81002:545f:5187 33 _ldap._tcp.default-first-site-name._sites.dc._msdcs.ctunit.local.
2004-07-16 14:23:25.660853500 tx 0 33 _ldap._tcp.default-first-site-name._sites.dc._msdcs.ctunit.local. local. c0a81002
...
2004-07-16 14:23:25.696183500 drop 140 timed out
2004-07-16 14:23:25.696226500 query 340 c0a81002:c8ed:f7ad 33 _ldap._tcp.default-first-site-name._sites.dc._msdcs.ctunit.local.
2004-07-16 14:23:25.696263500 tx 0 33 _ldap._tcp.default-first-site-name._sites.dc._msdcs.ctunit.local. local. c0a81002


I'm starting to thing that it is to do with a poorly configured windows workstation (one set for ctunit.local rather than ctu)
Back to top
View user's profile Send private message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Fri Jul 16, 2004 1:08 pm    Post subject: Reply with quote

I disabled the external ethernet interface and then proceeded to turn off each of the workstations one by one to see which one was causing this.


Now they are ALL off and this (the server) is the only computer remaining on in the LAN and the messages persist.


I am confused and really really peeved
Back to top
View user's profile Send private message
davidblewett
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 274
Location: Indiana

PostPosted: Fri Jul 16, 2004 1:11 pm    Post subject: Reply with quote

If you want something to cache DNS requests from the network, I use dnsmasq. I've never had a problem with it. You could use the other to be the authoritative DNS server for outside requests, but I've heard it's not a good thing to mix the two on the same machine.
_________________
No guilt in life, no fear in death
this is the power of Christ in me
From life’s first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album"
Back to top
View user's profile Send private message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Fri Jul 16, 2004 1:33 pm    Post subject: Reply with quote

I really just don't understand what is going on!


I realise now the first set ("but I am also getting") was from fetchmail.


however, the first-site-name._sites.dc._msdcs remain a complete mystery and then there were repeated queries for old workstation names (and nonexistant ones). Yet I turned off all the computers bar this server.


I just cannot explain it.


it hasn't recurred
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Fri Jul 16, 2004 3:23 pm    Post subject: Reply with quote

While I don't have a solution to your problem, I will say you've gotten a lot farther than I have. I'm going to go review my problems with djbdns, keeping in mind the types of messages you're getting in your logs.

I posted a few months ago about this exact problem. Djbdns worked perfectly for a few minutes, and then simply died. I couldn't trace the problem, and nobody had any suggestions. I'll see if I can help out, but just know you're not alone, or crazy ;-)
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Tue Jul 20, 2004 10:52 am    Post subject: still it persists Reply with quote

been turning on the workstations one by one.

first one on and the problem has resumed. This time the query eating up the server is quite different

it's just
Code:
@4000000040fd07cf396d1a6c tx 0 1 server.ctunit.local. local. c0a81002
@4000000040fd07cf396ed3d4 drop 8453996 timed out
@4000000040fd07cf396f069c query 8454196 c0a81002:d4ed:534f 6 workstation-208.ctunit.local.
@4000000040fd07cf396f50d4 tx 0 6 workstation-208.ctunit.local. local. c0a81002
@4000000040fd07cf39710a3c drop 8453997 timed out
@4000000040fd07cf397140ec query 8454197 c0a81002:3024:e387 1 server.ctunit.local.



repeated over and over again.


part of what's bothering me is that I can't find a reference to server.ctunit.local anywhere on the server (changed everything to .ctu.local when I switched from a windows server)

I've checked in /etc/hosts and in /var/dnscachex/root/ to no avail



the mystery continues. any suggestions would be most welcome
Back to top
View user's profile Send private message
pubecon
Guru
Guru


Joined: 03 Mar 2003
Posts: 342
Location: Glasgow, Scotland

PostPosted: Tue Jul 20, 2004 10:58 am    Post subject: what?!! Reply with quote

out of shear interest I thought
"I shall ping server.ctunit.local"

so I did

only to have the log file fill with
Code:
@4000000040fd0a1c11c0f1dc tx 0 1 server.ctunit.local. local. c0a81002
@4000000040fd0a1c11c293d4 drop 60 timed out
@4000000040fd0a1c11c2c69c query 260 c0a81002:f001:1826 1 server.ctunit.local


with queries from 1 to 260 in about a second and leaving the dns server almost completely unresponsive (things would resolve but no reply would be received), fixed again by restarting the service

if I leave it for a few seconds more (with the ping stopped) it continues on, unprompted, to query number 1077431 and beyond!

I mean, noone is pinging it, so what on earth is it trying to do?!!


right, I changed /var/dnscachex/root/servers/local to have 127.0.0.1 in it instead of the local ethernet interface address and server.ctunit.local no longer causes an infinite pinging loop.

however, the aforementioned problems still remain (why was server.ctunit.local being pinged in the first place? and what was all that ldap stuff about)...

still turning on computers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum