*BSD News Article 53632


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!chi-news.cic.net!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!uni-regensburg.de!newsserv.uni-bayreuth.de!news.tu-chemnitz.de!irz401!theatre.pandora.sax.de!mw
From: mw@theatre.pandora.sax.de (Martin Welk)
Subject: Re: DNS set-up in FreeBSD
Organization: Private Site, Member of Individual Network e. V.
Message-ID: <DH4ntL.3nE@theatre.pandora.sax.de>
References: <46n1q0$1h7@dns.enter.net> <46pg5e$huh@hermes.acs.unt.edu>
Date: Fri, 27 Oct 1995 22:00:57 GMT
Lines: 38

In article <46pg5e$huh@hermes.acs.unt.edu>,
Mike Wilson <wilsonm@spartan.hsc.unt.edu> wrote:

>You can setup a host file on each that contains the name and ip address of 
>the few machines you have. (\Windows\Hosts, /etc/hosts) and that should do 
>it.

I have to administrate a LAN with yet 10 hosts,
not connected to the Internet.

I setup a primary and secondary domain name server on monday
because I wanted to get rid of editing hosts files (there are
five different Unix maschines, three of 'em running FreeBSD,
and some DOS/Windows machines.) So I set up the name service
and now I'm very happy with that because each /etc/hosts file
contains just

127.0.01	localhost
a.b.c.d		myhost.my.domain

where a.b.c.d is the IP number of that host, and it's name.

The machines are on different parts of the network (connected
via modem line.) Name services makes things easier as I cannot
remote edit config files on those MS-DOS machines. Now I don't
need any host names on that machines anymore :-)

IMO its much easier to install a DNS once and let it run than
changing hosts files every two weeks or more often.

Bye,
    Martin
-- 
 /| /|        | /| /       \      ,,You know, there's a lot of opportunities,
/ |/ | artin  |/ |/ elk     \                 if you're knowing to take them,
                             \      you know, there's a lot of opportunities,
mw@pandora.sax.de             \            if there aren't you can make them,
Meissen, Germany, Europe       \         make or break them!'' (Tennant/Lowe)