[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9915.0. "make_hosts loses records" by VAXRIO::16.179.32.55::Meyer () Wed May 21 1997 17:45

Hi All,

Every time customer uses make_hosts to generate a new hosts.db, make_hosts 
loses all include's, MX and HINFO records, and a quick look in make_hosts did 
not show ways to preserve this records. 

Changing hosts.db each time make_hosts is executed is a dangerous and tedious 
task and probably I am forgetting something to avoid this.

Could someone clarify this matter to me ?

Thanks in advance,

Carlos Meyer
MCS/CSC-BR
T.RTitleUserPersonal
Name
DateLines
9915.1BIGUN::nessus.cao.dec.com::MayneA wretched hive of scum and villainyThu May 22 1997 02:4512
make_hosts only knows what was in the hosts file in the first place. This 
obviously doesn't include MX, HINFO, etc. Eveery time you run make_hosts, you 
blow away your hosts.db and start again.

The obvious answer is "don't run make_hosts". ("Doctor, it hurts when I do 
this.").

I use make_hosts (if I use it at all) as a quick way to populate hosts.db, and 
ignore it forever after. If you want to keep your hosts.db file current, edit 
hosts.db, not hosts.

PJDM
9915.2Yes, it hurts !. Thanks.VAXRIO::16.179.32.55::MeyerThu May 22 1997 09:271
9915.3try h2nINDYX::ramRam Rao, PBPGINFWMYThu May 22 1997 13:3510
None of my larger customers use make_hosts.  Some of them use h2n, which
is a publicly available PERL script that does the right things for
most customers.

To check out DNS management tools (like h2n) see:

	http://www.dns.net/dnsrd/tools.html


Ram