Skip to content

Commit

Permalink
install from pip+github
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller committed Aug 6, 2013
1 parent 4ca3589 commit 0787d29
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
0.0.3 2013/08/06
- added setup.py to allow for installation via pip
- changed exit values from negative numbers to positive numbers
- added CHANGELOG
- added LICENSE

0.0.2 2013/07/11
- improved output

0.0.1 2010/12/16
- initial release
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2012 Joe Miller

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.
12 changes: 9 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@ Windows 2000 DNS and GoDaddy DNS (which both export BIND zone files) into Amazon
Route53 DNS service. With this tool, I could confidently prove that all records
properly imported into Route53 before changing the whois records for each domain.

UPDATED (7/11/2013): Cleaned up the script a bit and refacdtored a few things while migrating
UPDATED (7/11/2013): Cleaned up the script and output a bit and refactored a few things while migrating
a set of domains from Ziergo to Dyn.

Installation
------------

pip install git+http://github.com/joemiller/dns_compare.git#egg=dns_compare


Example Usage:
--------------
Basic operation:

$ dns_compare.py -z example.com --file example.com.zone --server 10.1.1.1
$ dns_compare -z example.com --file example.com.zone --server 10.1.1.1
............................................X
(MIS-MATCH) query: nss4.example.com.
Expected: 300 IN A 142.229.40.28
Expand All @@ -45,7 +51,7 @@ Basic operation:

Verbose:

$ dns_compare.py -z example.com --file example.com.zone --server 10.1.1.1 --verbose
$ dns_compare -z example.com --file example.com.zone --server 10.1.1.1 --verbose
----
(Match) query: www.example.com. ...
Expected: 0 IN CNAME example.com.
Expand Down
File renamed without changes.
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from distutils.core import setup

setup(
name='dns_compare',
version='0.0.3',
author='Joe Miller',
author_email='[email protected]',
scripts=['dns_compare'],
url='https://github.com/joemiller/dns_compare',
license='LICENSE',
description="Test DNS servers",
long_description=open('README.markdown').read()
)

0 comments on commit 0787d29

Please sign in to comment.