Hi Daniel.

On 03/05/2009, Daniel Staal <[email protected]> wrote:
> --As of May 3, 2009 11:10:49 AM +0930, David Walker is alleged to have said:
>
>> Can someone please confirm whether I have this correct:
>> /etc/hosts is a list of known machines for quick resolving without
>> using external DNS servers or named.
>> /etc/resolv.conf is instructions telling lookups whether to use the
>> hosts file and what external DNS server to query. Also whether to use
>> named.
>> /etc/named.conf is the settings for running the local DNS server.
>
> Bingo: That's just about perfect, I think.

Cool.
I was patient when I read the man pages and I proof read (edited) my mail. :]

>  (And note from that you can both run named and not use it...)

Of course. That's a good way for me to turn named on and off when I get stuck.

>> I am looking through named.conf(5) and it is reasonably complex (for me).
>> Are there any cheap setups that work?
>> At the moment this is optional for me (BIND) but I would like to put
>> some effort into it.
>
> I think the 'default' setup works for most uses straight out of the box.
> (I haven't checked recently, I'll admit.)  The most likely thing you'd have
> to change is what interfaces/addresses named will listen on: I've seen some
> defaults that would only listen on 127.0.0.1 to the local box.

Cheers.

> As for having your hostname match what a DNS query returns: It's not
> necessary, except for certain uses as an internet-facing server.  It's
> often nice to have just one name for things, but often the one assigned by
> you ISP isn't a great one.

Yes. My ISP assigned name is long and a mish mash of IP address ...
pppTHIRDOCTET-FOURTHOCTET.static.internode.on.net
Still, as I do get confused by some of the name entries in
configuration files I might give it a whirl. I might find some leet
way to use it. :]

> Daniel T. Staal

Best wishes.
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to