From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 17 04:43:10 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD80F16A4CE for ; Thu, 17 Jun 2004 04:43:10 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5D043D1D for ; Thu, 17 Jun 2004 04:43:06 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i5H4gmJe075853; Thu, 17 Jun 2004 14:12:48 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org, jmlewis@dslextreme.com Date: Thu, 17 Jun 2004 14:12:47 +0930 User-Agent: KMail/1.6.2 References: <14f28a3276ca4f588a45308a.20040615195225.wzyrjvf@www.dslextreme.com> In-Reply-To: <14f28a3276ca4f588a45308a.20040615195225.wzyrjvf@www.dslextreme.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200406171412.47663.doconnor@gsoft.com.au> X-Spam-Score: -4.9 () CARRIAGE_RETURNS,IN_REP_TO,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Subject: Re: My first DNS server X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 04:43:10 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 16 Jun 2004 12:22, Joshua Lewis wrote: > I am setting up BIND9 (My first Unix DNS server) and was setting up the > forwarders section of the namedb.conf. I was wondering if I should leave > the default 127.0.0.1 in the list or if I should remove it. I am assuming > I should remove it as if it needs to forward a request then it obviously > doesn't have the answer. Here's the config for a bind that will respond to DNS requests from other m= achine. options { directory "/etc/namedb"; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; If you have an upstream DNS server you can tell BIND about it by putting the following inside the options section -> forwarders { 1.2.3.4; }; Hope that helps. =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA0SFH5ZPcIHs/zowRAq2dAKCd/5bmjYLo9ZeeFE8XTelKlTeyUgCgnefn ZGIjSmyJ6LUFTb86vTgv+aI=3D =3Dy1Yx =2D----END PGP SIGNATURE-----