Wiki source for tier2audit
@@=====Tier2 Auditing=====@@
Tier2 DNS servers currently are not audited. This wiki page is to discuss how to monitor these servers. This plan is to cover a few jobs in one script.
===Current T2 status/notification cycle===
|=|Minutes past the hour|=|Action|=|
||14,29,44,59||##/OpenNIC/testT2/t2status.txt## generated by ns0||
||17,32,47,02||##/OpenNIC/testT2/t2status.txt## transfered from ns0 to wiki host||
||18,33,48,03||T2 failure/restore notifications sent; wiki status page updated||
||21,36,51,06||new T2 list generated by wiki and sent to ns0 (##/OpenNIC/dns-zone/public_t2_servers.txt##)||
Associated crontab on ns7:
%%
# Fetch t2status.txt from ns0
17,32,47,02 * * * * rsync -rlpgoDc -e "ssh -p 3200" dnsmaint@ns0.opennic.glue:/OpenNIC/testT2/t2status.txt /home/dnsmaint/t2status.txt
# Update DB with new statuses and send out notifications
18,33,48,03 * * * * /home/brian/Scripts/updateT2Records.pl
# Generate new T2 list and deposit in ns0
21,36,51,06 * * * * /home/brian/Scripts/extractT2ZoneData.pl > /home/dnsmaint/public_t2_servers.txt; rsync -rlpgoDc -e "ssh -p 3200" /home/dnsmaint/public_t2_servers.txt dnsmaint@ns0.opennic.glue:/OpenNIC/dns-zone/
%%
----
CategoryAuditing
Tier2 DNS servers currently are not audited. This wiki page is to discuss how to monitor these servers. This plan is to cover a few jobs in one script.
===Current T2 status/notification cycle===
|=|Minutes past the hour|=|Action|=|
||14,29,44,59||##/OpenNIC/testT2/t2status.txt## generated by ns0||
||17,32,47,02||##/OpenNIC/testT2/t2status.txt## transfered from ns0 to wiki host||
||18,33,48,03||T2 failure/restore notifications sent; wiki status page updated||
||21,36,51,06||new T2 list generated by wiki and sent to ns0 (##/OpenNIC/dns-zone/public_t2_servers.txt##)||
Associated crontab on ns7:
%%
# Fetch t2status.txt from ns0
17,32,47,02 * * * * rsync -rlpgoDc -e "ssh -p 3200" dnsmaint@ns0.opennic.glue:/OpenNIC/testT2/t2status.txt /home/dnsmaint/t2status.txt
# Update DB with new statuses and send out notifications
18,33,48,03 * * * * /home/brian/Scripts/updateT2Records.pl
# Generate new T2 list and deposit in ns0
21,36,51,06 * * * * /home/brian/Scripts/extractT2ZoneData.pl > /home/dnsmaint/public_t2_servers.txt; rsync -rlpgoDc -e "ssh -p 3200" /home/dnsmaint/public_t2_servers.txt dnsmaint@ns0.opennic.glue:/OpenNIC/dns-zone/
%%
----
CategoryAuditing