Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 1995 10:28:10 +0200 (MET DST)
From:      Piero Serini <piero@strider.ibenet.it>
To:        blair@itsnet.com (Blair Schmittel)
Cc:        questions@FreeBSD.org
Subject:   Re: DNS forwarding
Message-ID:  <199509200828.KAA03681@strider.ibenet.it>
In-Reply-To: <199509192238.QAA06112@scratchy.itsnet.com> from "Blair Schmittel" at Sep 19, 95 04:38:35 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

Quoting from Blair Schmittel (Wed Sep 20 00:38:35 1995):
> I have two servers running DNS, one is the primary (A) for a domain, the
> other (B) does nothing.  I am wondering if there is a way that BIND can
> forward all incoming queries from server A to server B.

Use the 'forwarders' line. From "man named":

   The ``forwarders'' line specifies the addresses of sitewide servers that
   will accept recursive queries from other servers.  If the boot file spec-
   ifies one or more forwarders, then the server will send all queries for
   data not in the cache to the forwarders first.  Each forwarder will be
   asked in turn until an answer is returned or the list is exhausted.  If
   no answer is forthcoming from a forwarder, the server will continue as it
   would have without the forwarders line unless it is in ``slave'' mode.
   The forwarding facility is useful to cause a large sitewide cache to be
   generated on a master, and to reduce traffic over links to outside
   servers.  It can also be used to allow servers to run that do not have
   access directly to the Internet, but wish to act as though they do.

The format is:

forwarders <IP ADDR> [<IP ADDR> [...] ]

and it must be inserted in /etc/named.boot (or wahtever file you use
to configure your named).

Bye,
--
#        $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $
Piero Serini                                            Via Giambologna, 1 
<Piero@Free.IT>                                     I 20136 Milano - ITALY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509200828.KAA03681>