djbdns
[Top] [All Lists]

Re: dnscache external cache AND forwarding cache?

To: dns@list.cr.yp.to
Subject: Re: dnscache external cache AND forwarding cache?
From: Charles Cazabon <dns@discworld.dyndns.org>
Date: Wed, 24 Jan 2007 18:45:25 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-djbdns@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list dns@list.cr.yp.to
In-reply-to: <20070124164719.of5kwj43k00kw8w8@webmail.xmission.com>
Mail-followup-to: dns@list.cr.yp.to
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
References: <20070124164719.of5kwj43k00kw8w8@webmail.xmission.com>
User-agent: Mutt/1.5.11
djb@xmission.com <djb@xmission.com> wrote:
> 
> Executive Summary
> I want to introduce a local nameserver system to resolve hosts on 
> xyz.com that will then forward requests it doesn't have an answer to to 
> other nameservers that also resolve hosts for xyz.com.  Do you have any 
> doc that can tell me how to do this?

If xyz.com is split across nameservers, it's easy.  You set up dnscache to run
on the external interface (so other machines can use it) and tinydns on your
server.  Configure tinydns, running on 127.0.0.1, to serve a.xyz.com (and
everything under that), and your "other" server to serve b.xyz.com (and
everything under that).

In dnscache's root/servers/ directory, put 127.0.0.1 in a file called
a.xyz.com, and the address of the other name server in b.xyz.com.

If you want to do this without splitting xyz.com into subdomains, it becomes a
much knottier problem.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                              <dns@discworld.dyndns.org>
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>