Date: Sat, 1 Sep 2001 18:12:28 +0300 From: Giorgos Keramidas <charon@labs.gr> To: Tony <tony@idk.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to specifiy nameserver Message-ID: <20010901181228.B13165@hades.hell.gr> In-Reply-To: <200109010427.VAA27772@idk.com>; from tony@idk.com on Fri, Aug 31, 2001 at 09:27:22PM -0700 References: <DBEIKNMKGOBGNDHAAKGNMEJBICAA.dave@hawk-systems.com> <200109010427.VAA27772@idk.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Tony <tony@idk.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010901181228.B13165>