home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / admin / 6267 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.1 KB

  1. Xref: sparky comp.unix.admin:6267 comp.sys.sun.admin:8430
  2. Newsgroups: comp.unix.admin,comp.sys.sun.admin
  3. Path: sparky!uunet!pipex!warwick!fulcrum!igb
  4. From: igb@fulcrum.co.uk (Ian G Batten)
  5. Subject: Managing Host Databases
  6. Message-ID: <BxyoBA.BoK@fulcrum.co.uk>
  7. Sender: news@fulcrum.co.uk
  8. Organization: Fulcrum Communications
  9. Date: Thu, 19 Nov 1992 11:37:57 GMT
  10. Lines: 22
  11.  
  12.  
  13. Like most people, I need to manage /etc/hosts, DNS zone and reverse
  14. files, bootparams, exports and all those good files.  Does anyone have
  15. the software to take a single datafile and produce some or all of the
  16. other things?  I've started writing a lot of perl, but I'd be keen to
  17. help someone else develop their code instead.
  18.  
  19. I've got some code to parse things like this, but it's going to be a
  20. long haul to make it do what I want...
  21.  
  22. $host = 'kether.fulcrum.co.uk';
  23. $ip = '192.65.220.1';
  24. @aliases = ('loghost' 'newshost' 'ftp');
  25. @interfaces = ('146.101.128.90 kether-gw.fulcrum.co.uk', \
  26.            '192.150.140.2 kether-site.fulcrum.co.uk');
  27.  
  28. $host = 'doctor-seuss.fulcrum.co.uk';
  29. $ip = '192.65.220.7';
  30. @interfaces = ('192.131.79.1 doctor-seuss-nfs.fulcrum.co.uk');
  31.  
  32.  
  33. ian
  34.