Skip to content

Instantly share code, notes, and snippets.

@rxall
rxall / do-ip-fisher.php
Created November 5, 2015 10:11
A small script to grab floating IP's from Digital Ocean and check if they still have DNS entries pointing at them using Bing's ip: search
#!/usr/local/bin/php
<?php
//////////////////////////////////////////////////////
// A quick POC to grab IP's from Digital Ocean //
// that still have DNS records pointing to them //
// //
// Config: 1. Set BING_API_KEY //
// 2. Set DO_API_KEY //
// //