From owner-freebsd-questions Sat Sep 1 19:25: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from idk.com (idk.com [65.104.9.99]) by hub.freebsd.org (Postfix) with ESMTP id 9659737B407 for ; Sat, 1 Sep 2001 19:24:57 -0700 (PDT) Received: (from tony@localhost) by idk.com (8.9.3/8.9.3) id TAA02470 for freebsd-questions@freebsd.org; Sat, 1 Sep 2001 19:25:04 -0700 (PDT) From: Tony Message-Id: <200109020225.TAA02470@idk.com> Subject: Re: how to specifiy nameserver To: freebsd-questions@freebsd.org Date: Sat, 1 Sep 2001 19:25:03 -0700 (PDT) In-Reply-To: <20010901181228.B13165@hades.hell.gr> from "Giorgos Keramidas" at Sep 01, 2001 06:12:28 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. > You missed it, I said "any other book I have". Unlike some people who can afford to run out and spend $50 (or whatever) or a book, read it, find all the answers; I cannot do that. > > 2) I found various references, including the file, but nothing about format > > of the file that I could find. I was not asking anything except where is the file format. > > 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. > Right now I run my own name server locally, the only thing I use my ISP is for incomming mail backup when my DSL line has problems. None of the above 3 items needed any sort of reply, they to many people who do not seem to understand what and why I was asking things, after all isn't that what this list is abount. And, the answer below if what my experiments would have shown and finding out for oneselve is sometimes much better. Tony > 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