LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DJBDNS-dnscahe problem!!! (https://www.linuxquestions.org/questions/linux-software-2/djbdns-dnscahe-problem-519866/)

sholah 01-16-2007 12:40 PM

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?

trickykid 01-17-2007 09:27 PM

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.. ;)


All times are GMT -5. The time now is 12:02 AM.