LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2007, 12:40 PM   #1
sholah
Member
 
Registered: Dec 2006
Posts: 34

Rep: Reputation: 15
DJBDNS-dnscahe problem!!!


hello everyone,

i just installed djbdns software.

tinydns on 1.2.3.4

internal dnscache on 127.0.0.1 and

external dnscache on 1.2.3.5

ps take note that the tinydns and external dnscache are on the same subnet and the IPs are global.

On the box on which i installed the djbdns software(which i ll call dns),i entered in the /etc/resolv.conf file:

nameserver 127.0.0.1

only.when i try to do

dig @127.0.0.1 yahoo.com

i get connection time out;no servers could be reached.

When i try to use the external dnscache from other client systems, i get the same error.

What could the problem be?Do i have to do some sort registration before it works?

The funny thing is when i add my ISPs DNS server to dns's /etc/resolv.conf like this:

nameserver 127.0.0.1
nameserver 13.14.15.16

everything seems to work. is this the way dnscache is supposed to work-with the help of another DNS server or can it work alone?
 
Old 01-17-2007, 09:27 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
In most cases you do want an actual DNS server or it won't be able to reach sites and then cache the results.

There also seems to be problems with the default cache size it uses with 1MB. You may want to bump that up and or you'll find yourself restarting dnscache more often, depending on the role of this machine.

Personally we use it on some production machines where I work, it's crapware and I've been begging to just get rid of it, it seems to fail more often than it's worth as I've been pushing to create our own name caching DNS server instead of relying on outside DNS servers and TinyDNS.

The days I long for Bind like I had at my previous employers..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
djbdns error dudulz *BSD 0 07-10-2006 12:10 AM
djbdns problems open-abe Red Hat 0 05-10-2005 04:23 PM
OpenBSD 3.5 + djbdns Gsee *BSD 5 11-09-2004 05:25 AM
djbdns artimador Linux - Software 0 07-27-2004 11:26 AM
Problem with djbdns in RedHat 9. What to do ? alisajjad Linux - Networking 1 07-19-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration