On Tue, 17 Oct 2000, !Dr. Joe Baptista wrote:
>
> On Tue, 17 Oct 2000, Chronos wrote:
>
> > I know how to uncompress the data, but what the heck do I do with it after I
> > have uncompressed it?? If I just used vi I think the system would probably
> > crash or take forever to open the file. This is what I want to do, I want to
> > write a PHP script that will beable to search the file and display it on a
> > page.
>
> In the words of the perpetual civil servant "that's a bold idea"
>
> what exactly do you want to do with the data - it's in bind zone format -
> so a conversion maybe in order. But you need to know what it is you want
> to do with it. And yes - vi don't work on it.
Although I think Joe Baptista knows much more about this, streaming
and piping &c. (?), I can tell you what I do with the zone
files. Occasionally, just for play.
1. Grep them, e.g. grep '^..\.NET\.' net.zone > 2-letter.net This will
give you a small file with all 2-letter net domains in it, well and
some rubbish, vid. their nameservers :-)
2. Do the same with the zone file of a day of 4 or 5 later.
3. Diff these two files to a file.
4. Study that file, which shows you the changes. Many uninteresting,
changes of nameservers. Some, however, which appear in the older file
and not in the newer, may be domains that will some time soon (NetSol
permitting) be released.
Now, I am looking for a *working* script to attempt to register a name
that will be available soon with wget through my own opensrs pages.
Not to do it every minute, but at the time, that I think it must be
released, and when I may be sleeping or having a shower.
Of course, nobody will tell me :-(
--
Marc Schneiders
----------------------------
"ICANN is a two edged sword
and the trademark interests
have been swinging
their edge recently.
But beware of the backstroke."
(Karl Auerbach)
----------------------------