home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.admin:6267 comp.sys.sun.admin:8430
- Newsgroups: comp.unix.admin,comp.sys.sun.admin
- Path: sparky!uunet!pipex!warwick!fulcrum!igb
- From: igb@fulcrum.co.uk (Ian G Batten)
- Subject: Managing Host Databases
- Message-ID: <BxyoBA.BoK@fulcrum.co.uk>
- Sender: news@fulcrum.co.uk
- Organization: Fulcrum Communications
- Date: Thu, 19 Nov 1992 11:37:57 GMT
- Lines: 22
-
-
- Like most people, I need to manage /etc/hosts, DNS zone and reverse
- files, bootparams, exports and all those good files. Does anyone have
- the software to take a single datafile and produce some or all of the
- other things? I've started writing a lot of perl, but I'd be keen to
- help someone else develop their code instead.
-
- I've got some code to parse things like this, but it's going to be a
- long haul to make it do what I want...
-
- $host = 'kether.fulcrum.co.uk';
- $ip = '192.65.220.1';
- @aliases = ('loghost' 'newshost' 'ftp');
- @interfaces = ('146.101.128.90 kether-gw.fulcrum.co.uk', \
- '192.150.140.2 kether-site.fulcrum.co.uk');
-
- $host = 'doctor-seuss.fulcrum.co.uk';
- $ip = '192.65.220.7';
- @interfaces = ('192.131.79.1 doctor-seuss-nfs.fulcrum.co.uk');
-
-
- ian
-