Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 09:48:25 +0930
From:      Greg Lehey <grog@FreeBSD.org>
To:        Tony <tony@idk.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to specifiy nameserver
Message-ID:  <20010902094825.I95843@wantadilla.lemis.com>
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
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010902094825.I95843>