DNS and dig is ugly, and implementing them into your web application is even uglier. But not any longer, for here is dnsjson.com
Powered by Python and bottle, dnsjson.com is quick and simple to deploy, using all the power of Docker you can be up and running in one command!
To make editing easy, we're using Cloud9, an online IDE to allow you to get started quickly and simply! Getting started is easy, click here and follow the instructions
Deploying dnsjson.com is easy using Docker:
docker run -p 80:5000 quay.io/matthewgall/dnsjson.com
Honestly, that simple (and none of that one line wget direct to your terminal)
Returns the current running version of dnsjson.com from the released commit hash
$ curl https://dnsjson.com/version a54fda84993b524288b9597131f8d3aec3945e06
The MIT License (MIT) Copyright (c) 2015 - 2017 Matthew Gall Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.