Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!rochester!uhura.cc.rochester.edu!cruise.cc.rochester.edu!kenr From: kenr@cruise.cc.rochester.edu (Kenneth C. Rich) Newsgroups: comp.lang.perl Subject: Re: named -> hosts code anyone? Summary: I have something... Keywords: named, hosts.txt, hosts Message-ID: <13413@ur-cc.UUCP> Date: 15 Apr 91 15:23:27 GMT References: Sender: news@uhura.cc.rochester.edu Distribution: comp Organization: University of Rochester, Rochester NY Lines: 15 In article dnb@meshugge.media.mit.edu (David N. Blank) writes: > Before I go reinvent the triangle, I was wondering if anyone has >written the perl code to take a named-style formatted file and convert >it to a hosts file that they wouldn't mind sharing? I also wouldn't >turn down code to go the reverse way. Thanks. I just sent our dns-to-hosts.txt-format item. It works great, but is a little hardwired to our situation. Being the 2nd thing I ever did in perl, I might be embarrassed if I re-examined it too closely, so I won't right now !-) If anyone else wants it to look at or hack at, please email me at kenr@cc.rochester.edu -- -ken rich -=+!+=- kenr@cc.rochester.edu