[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: leafnode and djbdns
Matthias Andree <ma@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
MA> Morten Bo Johansen <mojo@xxxxxxxx> writes:
>> I wondered if anyone on the list is using this combination?
MA> Yes, but my dnscache is complemented by tinydns for providing local
MA> DNS (internal use, for my LAN only).
>> Yesterday I set up a local DNS cache with djbdns as per the
>> instructions in http://cr.yp.to/djbdns/faq/cache.html and it
>> worked fine. However when I contact the leafnode server on the
>> localhost (through Mutt) it pauses for about 5-10 seconds as if
>> the dnscache program is trying to intercept the operation.
MA> dnscache is not intercepting anything. Check the logs, dnscache has its
MA> own logs -- try this in a separate console/xterm/shell:
MA> tail -f /service/dnscache/log/main/current | tai64nlocal
MA> Check your /etc/syslog.conf to figure where your daemon logs and news
MA> logs go. Mind the time stamps in the log.
MA> Presumably dnscache cannot resolve the name of your client and this
MA> process is slow. Try putting your local clients either into tinydns or,
MA> easier, into /etc/hosts and giving /etc/hosts precedence over
MA> DNS. (/etc/nsswitch.conf: "hosts: files dns")
I had that already and I could also dig both localhost and
"gatsby" the name of my machine.
>> Dnscache is using localhost as the nameserver but so does pdnsd
>> (another DNS cache) and I did not have any delays with pdnsd.
>> Both are running on port 53 if that matters.
MA> You cannot run two dns listeners (pdnsd and dnscache) on the same IP at
MA> the same time. You can however redirect certain domains from dnscache to
MA> a certain different IP. I am redirecting domain.example.net and
I wasn't running them at the same time ;) and with pdnsd there
was no delay, therefore I wondered. But I will check up on your
other suggestions. Thanks.
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list