From owner-freebsd-questions Sat Sep 1 17:18:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id A010037B406 for ; Sat, 1 Sep 2001 17:18:27 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 755856ACE6; Sun, 2 Sep 2001 09:48:25 +0930 (CST) Date: Sun, 2 Sep 2001 09:48:25 +0930 From: Greg Lehey To: Tony Cc: freebsd-questions@freebsd.org Subject: Re: how to specifiy nameserver Message-ID: <20010902094825.I95843@wantadilla.lemis.com> 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 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 On Friday, 31 August 2001 at 21:27:22 -0700, Tony wrote: >>>>> If I am not running named locally, how do I specify using DSN on my ISP? >>>>> >>>>> I think that it's in one of the /etc/host* but I do not know which or the >>>>> format to add this. >>>> >>>> You put it in /etc/resolv.conf. Type "man resolv.conf" for detailed >>>> information. Basically, do something like this in /etc/resolv.conf >>>> >>>> domain your-domain-name >>>> nameserver ip-address-of-the-nameserver >>> >>> You seem to be understanding more than I am. For me, DSN means >>> "delivery status notification", and it's an MTA function, not a name >>> server function. >> >> My guess was that was a typo >> >>> The real question, though, is "why not run named?". It's trivial to >>> set up a caching-only name server, and it's much faster than using >>> remote name servers or /etc/hosts. >> >> or dnscache as part of the djbdns port... IMO much easier for people to setup >> and deal with than named or bind(which he will eventually evolve to i would >> think) >> >> I agree with you though not many reasons not to run caching server especially >> when you consider the work required for the alternative. > > Yes it was meant to be DNS, my typing is not so good anymore. Sorry. My apologies. It must have been too early in the morning. > 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. Look at Page 477 of "The Complete FreeBSD", third edition. > 2) I found various references, including the file, but nothing about format > of the file that I could find. I mention this file only briefly, on page 480, for the reasons I stated above. It goes on to describe the caching DNS server that I recommend. > 3) I was also interested in what sort of impact moving the name server back > to the ISP may have. You'll have a lot more traffic, and you can end up with noticeably slower response. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message