Newsgroups: comp.archives
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!msen.com!emv
From: hakanson@ogicse.ogi.edu (Marion Hakanson)
Subject: [perl] Re: named -> hosts code anyone?
Message-ID: <1991Apr12.074541.17649@ox.com>
Followup-To: comp.lang.perl
Sender: emv@msen.com (Edward Vielmetti, MSEN)
Reply-To: hakanson@ogicse.ogi.edu (Marion Hakanson)
Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR
References: <DNB.91Apr10114112@meshugge.media.mit.edu> <19910@ogicse.ogi.edu>
Date: Fri, 12 Apr 1991 07:45:41 GMT
Approved: emv@msen.com (Edward Vielmetti, MSEN)
X-Original-Newsgroups: comp.lang.perl

Archive-name: internet/named/dnsparse/1991-04-11
Archive: cse.ogi.edu:/pub/dnsparse-2.0.tar.Z [129.95.10.2]
Original-posting-by: hakanson@ogicse.ogi.edu (Marion Hakanson)
Original-subject: Re: named -> hosts code anyone?
Reposted-by: emv@msen.com (Edward Vielmetti, MSEN)


Randal was good enough to put David in touch with me directly, but
others might want to try out my C and Perl solution to this task.
It's available for anonymous FTP from host cse.ogi.edu, in
pub/dnsparse-2.0.tar.Z.

Note that this includes a subroutine which is a general parser of DNS
master files, plus some programs which use the parser to produce
interesting things: a hosts-style file, and a primitive set of PTR
records based on A records, to name a couple.

I apologize in advance for the lack of documentation, but the tools
(especially "dns2hosts") are robust and have served us well for quite
some time.

-- 
Marion Hakanson         Domain: hakanson@cse.ogi.edu
                        UUCP  : {hp-pcd,tektronix}!ogicse!hakanson
