Go to file
Maff b1485bbf55 Fixed an issue with AS lookups and some formatting glitches 2014-03-05 01:19:03 +00:00
LICENSE Added a license file 2013-03-18 00:43:02 +00:00
abused Begun aslookup rewrite - see aslookup-new. aslookup is being rewritten to make use of Net::IRR as opposed to Net::WHOIS::RIPE, hopefully resulting in better stability. 2014-02-02 08:03:08 +00:00
aslookup Added RIPE fallback if the default whois server doesn't have information on a given ASN 2013-03-18 02:20:49 +00:00
aslookup-new Fixed an issue with AS lookups and some formatting glitches 2014-03-05 01:19:03 +00:00
cpanel-rdns-manager Fixed a bug where cpanel-rdns-manager -S <IP> would result in an error 2013-10-31 20:32:16 +00:00
mailview.pl Adding mailview 2013-02-04 03:04:05 +00:00
nscheck Started working on adapting nscheck to support other record types via -t option 2013-08-11 05:56:47 +01:00
rdns-manager Fixed some issues with module handling and removed the gross clojure in del_ptr() 2014-02-14 20:56:06 +00:00
readme.md Updated readme.md to display better on bitbucket 2014-02-07 18:55:52 +00:00
watchd Added aslookup and fixed a bug in watchd regarding variable naming 2013-03-17 05:11:43 +00:00
watchd.conf Added aslookup and fixed a bug in watchd regarding variable naming 2013-03-17 05:11:43 +00:00
wdns Fixed wdns' resign code to bump the zone's SOA. I'm aware it's done awfully but I cba doing anything elegant. 2013-11-27 21:35:05 +00:00

readme.md

script-collection

Preface

I write scripts a lot. Partly as a hobby, partly to make my own work easier and partly for my job.

I tend to choose whatever language is most appropriate for what I'm doing, although I usually prefer Bash.

License

Unless otherwise stated, all scripts and code in this repo are licensed under the 3-clause BSD license.

Scripts

This readme contains an up to date list of all scripts in the repo + their descriptions:

  • aslookup (and aslookup-new): Perl - Script to look up ASN information for a given IP or ASN. aslookup-new is a rewrite aimed at being more robust and providing more reliably useful data.

  • cpanel-rdns-manager: Bash - Script to manage in-addr.arpa zones (and in the future, ip6.arpa zones). Primarily meant to be used on cPanel systems but should be fairly portable to anything that uses bind9.

  • mailview: Perl - Script to parse HTML email and format it in a text-reader-friendly way.

  • nscheck: Bash - DNS diagnosis script

  • watchd & watchd.conf: Bash - Script designed to run as a cronjob, alerting the user to any events.

  • wdns: Bash - General-purpose script for managing DNS zones in a bind9 system. Work in progress.