[Sunhelp] DNS for a lan.
Jonathan Eisch
jeisch at boku.net
Tue Oct 3 19:13:27 CDT 2000
Hey, I found it. It isn't in /etc by default. They hide a copy in
/usr/newconfig/etc/ and then you have to make your modifications to the
default (which is what the file is) and put it in your /etc. Cool.
-Jonathan
Kevin_Stevens wrote:
>
> Check the nsswitch.conf file in /etc and make sure the
> hosts: entry says "files dns". This tells the resolver to check the hosts
> file before querying dns. How HP-UX accomplishes this I have no idea, but
> you want the same thing to happen.
>
> KeS
>
> On Tue, 3 Oct 2000, Jonathan Eisch wrote:
>
> > ok, well, I think I've got the probelm narrowed down. I had put the
> > hosts file on the new box, after adding it to the file. It has no
> > problem resolving the host names of comptuers on the internet (what the
> > DNS server has) but it can't resolve anything for the local lan. So, I
> > guess that HP-UX isn't looking at the hosts file, for whatever reason.
> > Can anyone think of why this might be?
> >
> > However, once I get this straitend out, I guess I'd like to run a
> > cacheing DNS server (something that just caches DNS for my lan to use
> > quicker) what version of bind would I use?
> >
> > -Jonathan
> >
> > Bill Bradford wrote:
> > >
> > > On Tue, Oct 03, 2000 at 05:30:43PM -0500, Jonathan Eisch wrote:
> > > > Hi All,
> > > > it looks like I need to setup a DNS server for my lan, so that computers
> > > > know their own, and eachothers's names. How would one go about that
> > > > (keep in mind this is a lan, with no domain set up or anything beyond
> > > > hostnames and hosts files.
> > > > -Jonathan
> > >
> > > Why not just put the same /etc/hosts files on each machine?
> > >
> > > Bill
> > >
> > > --
> > > Bill Bradford * KD5LQR
> > > mrbill at mrbill.net
> > > Austin, TX
> > > _______________________________________________
> > > SunHELP maillist - SunHELP at sunhelp.org
> > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
> >
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list