DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 24th, 2003, 12:04 AM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
tinydns runs for a day then stops answering queries

Hi,

I have installed djbdns on a red hat 8.0. Everything works fine for a day then it will stop answering queries. I run the command svstat /service/tinydns and it tells me that the service is still up. Any idea?

Thanks you.

Reply With Quote
  #2  
Old February 24th, 2003, 02:18 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Did you restart it? What did the log say?
My run file looks like so:
Code:
#!/bin/sh
exec 2>&1
exec envuidgid tinydns envdir ./env softlimit -d300000 /usr/local/bin/tinydns
How about yours?

Reply With Quote
  #3  
Old February 24th, 2003, 05:50 AM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
>Did you restart it?
Yes, I did restart yesterday.

>What did the log say?
I ran svstat /service/tinydns/log and it tells that it has been up 0
seconds.

My run look the same as yours.
#!/bin/sh
exec 2>&1
exec envuidgid tinydns envdir ./env softlimit -d300000 /usr/local/bin/tinydns

Thanks again.

Reply With Quote
  #4  
Old February 24th, 2003, 12:40 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I ran svstat /service/tinydns/log and it tells that it has been up 0 seconds.

I want to see what the log says, not what you think it's happening.

Reply With Quote
  #5  
Old February 24th, 2003, 06:13 PM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I'm sorry. Here is my log file.

Thank you.
Attached Files
File Type: zip current.zip (13.6 KB, 560 views)

Reply With Quote
  #6  
Old February 24th, 2003, 08:03 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The log indicates that you have misconfigured your data file (zone records), nothing more than that and that can't cause tinydns to stop answering queries.
When you say it will stop answering queries:
1) What kind of queries exactly?
2) How do you know? What did you do exactly?

As far as the misconfiguration, it's merely a misconception to most people regarding to reverse DNS. 99% of the time you are not authoritative for your own reverse (122.67.166.219.in-addr.arpa). If tinydns stops responding to a reverse lookup of 219.166.67.122, that's normal, just because your tinydns is NOT authoritative for 219.166.67.122 IP.

Currently you have a lame server as well -> ns-kg021.ocn.ne.jp

Your MX should only be ns1.solarenet.com, not mail.solarent.com.
Post your data file so I can fix all possible misconfiguration for you.

Reply With Quote
  #7  
Old February 24th, 2003, 08:22 PM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi freebsd,
Here is my tinydns data.

Thank you.
Attached Files
File Type: zip data.zip (232 Bytes, 592 views)

Reply With Quote
  #8  
Old February 24th, 2003, 08:40 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Code:
Zsolarenet.com:ns1.solarenet.com:hostmaster.solarenet.com
&solarenet.com:219.166.67.122:ns1.solarenet.com
&solarenet.com::ns-kg021.ocn.ad.jp
@solarenet.com::ns1.solarenet.com.:0
+www.solarenet.com:219.166.67.122
+solarenet.com:219.166.67.122
Zcahier.net:ns1.solarenet.com:hostmaster.cahier.net
&cahier.net::ns1.solarenet.com
&cahier.net::ns-kg021.ocn.ad.jp
@cahier.net::ns1.solarenet.com.:0
+cahier.net:219.166.67.122
+www.cahier.net:219.166.67.122
Use Z line, the . line is somewhat useless to most setup. Anything you don't understand the changes I have made, just ask.
You should also see that you have a typo error in ns-kg021.ocn.ad.jp as ns-kg021.ocn.ne.jp (non-existence).

My two questions remain unanswered please response.

Reply With Quote
  #9  
Old February 24th, 2003, 09:01 PM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi freebsd,

>>1) What kind of queries exactly?
Actually i mean when i use ping command and it tells "Time out".
I'm very sorry for my terrible english.


>>You should also see that you have a typo error in ns-kg021.ocn.ad.jp as ns-kg021.ocn.ne.jp (non-existence).
I'm sorry.

When I go to work I'll fix it right away.
By the way, could you tell me what lame server mean?

Thank you so much!
Akira

Reply With Quote
  #10  
Old February 24th, 2003, 09:16 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Actually i mean when i use ping command and it tells "Time out".

ping is not a tool to debug DNS problem. Dropping incoming icmp packets at firewall level so people can't ping you, doesn't mean your DNS isn't working properly.

>> could you tell me what lame server mean?

The server is not authoritative for your domain. Say you blindly entered ns1.google.com as your slave nameserver. Of course, ns1.google.com is not authoritative for your domain, because they haven't been told to.

Reply With Quote
  #11  
Old February 24th, 2003, 09:46 PM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you.

Reply With Quote
  #12  
Old February 24th, 2003, 10:57 PM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
One more question please.

Hi freebsd,

Should I put the secondary DNS ip in resolv.conf?

Thank you.
Akira

Reply With Quote
  #13  
Old February 25th, 2003, 04:47 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Should I put the secondary DNS ip in resolv.conf?

tinydns is to provide answers to DNS queries requested from others. All the answers are static and come from a flat db file at /service/tinydns/root/data.cdb. It answers what it knows about in the zone records (known), nothing more.
dnscache is to ask tinydns or other content DNS nameservers for answer and caches the answer accordingly. There's no data.cdb to hold zone records, whatsoever.

What you put in resolv.conf is the IP of dnscache, not tinydns. Just because tinydns is to provider answer, whereas dnscache is to request for the answer. They are totally different.

BTW, they both listen to UDP 53, so you can't bind both of them to the same IP.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > tinydns runs for a day then stops answering queries

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap