[ILUG] dnscache&djbdns on the same machine
Deim Agoston
ago at idg.hu
Mon Nov 12 22:40:50 GMT 2001
Hi all!
Finally I convienced the people that they should use djbdns instead
of bind. But I realized that installing tinydns for lan and dnscache
for forwarding the not local queries. So what I have and
what I want. I have:
LAN-----eth0 -PROXY-eth1---------------------Net
|
|
|-Mail&other server(s)
What I want: setup a zone for LAN computers.
I also want that every name which couldn't
be resolved from data.cdb go to the dnscache which
than forward it to outer DNS servers if the query is
not in its cavhe.
I know
that I should use the same file for reverse zone
if with = before hotnames. So, I setup daemontools.
Right now svscan uses /service. I installed djbdns.
I started to add hosts with add-host.
I also used add-ns to add the PROXY address as a nameserver
record and to also added it as NS for reverse queries.
What should I write into resolv.conf and which interface should
I use for dnscache? I read that they can't share the same IP.
Bye,
Ago
More information about the ILUG
mailing list