From owner-freebsd-questions Thu Dec 7 16:32:47 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 16:32:44 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 2151837B401 for ; Thu, 7 Dec 2000 16:32:44 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id eB80WaJ17094; Thu, 7 Dec 2000 16:32:36 -0800 (PST) Message-Id: <200012080032.eB80WaJ17094@ptavv.es.net> To: Nick Slager Cc: Raymond Law , freebsd-questions@FreeBSD.ORG Subject: Re: DNS server In-reply-to: Your message of "Thu, 07 Dec 2000 09:41:10 +1100." <20001207094110.B40394@albury.net.au> Date: Thu, 07 Dec 2000 16:32:36 -0800 From: "Kevin Oberman" Sender: oberman@ptavv.es.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Thu, 7 Dec 2000 09:41:10 +1100 > From: Nick Slager > Sender: nicks@giroc.albury.net.au > Sender: owner-freebsd-questions@FreeBSD.ORG > > Thus spake Raymond Law (rlaw@vt.edu): > > > If I don't run named on my box but instead use a DNS server on another box. > > Where should I put this address in? > > In /etc/resolv.conf. Something like this: > > domain my.domain.edu > nameserver 1.2.3.4 > nameserver 2.3.4.5 Minor nit...domain is deprecated although it will probably continue to work forever. The doc strongly suggests using the search keyword in its place. If there is a single domain specified, it works the same a domain, but it allows the listing of multiple domain so that it will try the name specified in each of the domains listed in the search directive. search mydomain.edu otherdomain.com specialdomain.com nameserver 192.192.192.5 nameserver 24.1.0.64 R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message