From owner-freebsd-questions Sat Sep 1 14:22:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2001237B406 for ; Sat, 1 Sep 2001 14:22:42 -0700 (PDT) Received: from hades.hell.gr (patr530-a184.otenet.gr [212.205.215.184]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f81LLIA02620; Sun, 2 Sep 2001 00:21:18 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f81FCSS13656; Sat, 1 Sep 2001 18:12:28 +0300 (EEST) (envelope-from charon@labs.gr) Date: Sat, 1 Sep 2001 18:12:28 +0300 From: Giorgos Keramidas To: Tony Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to specifiy nameserver Message-ID: <20010901181228.B13165@hades.hell.gr> References: <200109010427.VAA27772@idk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109010427.VAA27772@idk.com>; from tony@idk.com on Fri, Aug 31, 2001 at 09:27:22PM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Tony Subject: Re: how to specifiy nameserver Date: Fri, Aug 31, 2001 at 09:27:22PM -0700 > Yes it was meant to be DNS, my typing is not so good anymore. Sorry. > > Why I asked, because: > > 1) I was interested in how to do this, I could not find it in the FreeBsd > book or any other book I have. Depends on what books you look at. The authoritative reference about DNS has always been for me "DNS & Bind" by O' Reilly & Associates. > 2) I found various references, including the file, but nothing about format > of the file that I could find. In FreeBSD you can always try 'man -k' when all else fails. For the file in question (resolv.conf) this yields: % man -k resolve dnsquery(1) - query domain name servers using resolver hesiod(3), hesiod_init(3), hesiod_resolve(3), ... realpath(1) - return resolved physical path res_query(3), res_search(3), res_mkquery(3), ... resolver(5) - resolver configuration file XtResolvePathname(3) - search for a file using ... It's a bit unfortunate that the resolv.conf manpage shows up as resolver(5), but knowning that you are looking for a 'file format' and that such manpages are in section 5, you'd probably have guessed. > 3) I was also interested in what sort of impact moving the name server back > to the ISP may have. Having a caching name server for your local network, which hosts the data for all the local network addresses, means that you won't send a query to your ISP's nameservers for each resolve request that a local machine does. It also means that you have, well, caching. If the local nameserver can answer a request because it was in the cache, you'll save some bandwidth. Ciao, -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message