User Tools

Site Tools


dns:checkexpired

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dns:checkexpired [2020/09/29 00:12] – created rodolicodns:checkexpired [2020/09/29 00:32] (current) rodolico
Line 246: Line 246:
 </code> </code>
  
 +===== Caveats =====
  
 +  * First and foremost, Mr. Szabo and I have different coding styles, so this is a mishmash of them. One of these days, if I care enough, I'll go in and clean it up so it is the "right way" (ie, mine, not his...). Until then, live with it. Or download, change it to your "right way". If you do that and sent it back to me, I'll replace the stuff here and give you credit.
 +  * This is almost a "one off", so I didn't spend a lot of time on pretty. All three perl scripts could easily have cli parameter processing to override the constants I used. Anybody want to turn off the print STDERR without commenting them out?
 +  * Needs more comments.
 +  * whois/ directory doesn't get cleaned out. I created that so I was not getting fresh copies every time I ran it during testing, and just left it in.
 +  * puts whois/ directory as a subdir of your current directory. Works for me. <code bash>cd /path/to/script && ./checkNSValid.sh</code> is fugly, but it works.
 +
 +But, bottom line is, scripts work for my purposes now, and with some minor modifications, might work for you. Better still, go to Mr. Szabo's site and download his code. For a cron job, it is probably much better (single program, does it all). I want the intermediate files so I can later write a different filter to see when domains are coming up for renewal, for one thing.
  
 ===== Links ===== ===== Links =====
   * [[https://perlmaven.com/checking-the-whois-record-of-many-domains]]   * [[https://perlmaven.com/checking-the-whois-record-of-many-domains]]
dns/checkexpired.1601356327.txt.gz · Last modified: 2020/09/29 00:12 by rodolico