ascension

Migrate DNS zones to the GNU Name System
Log | Files | Refs | README | LICENSE

commit 60683f15ee6493be1f4cdce140eef269a074e9fa
parent c2f3a08680a45772c37cf1069138690dbd124767
Author: rexxnor <rexxnor+gnunet@brief.li>
Date:   Tue,  9 Oct 2018 13:30:31 +0200

updated requirements and README

Diffstat:
MREADME.md | 14++++++--------
Mrequirements.txt | 3+++
2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md @@ -33,26 +33,24 @@ Taken from the dosctring of the gnsmigrator.py file: GNS Migrator Usage: - gnsmigrator.py (-c <csv> | -f <txtfile>) - gnsmigrator.py (-c <csv> | -f <txtfile>) -r <resolver> + gnsmigrator.py -t <tld> -ns <transferns> + gnsmigrator.py -f <txtfile> gnsmigrator.py -h | --help gnsmigrator.py -v | --version Options: - <csv> CSV File containing domains to transfer + <tld> Top level domain to migrate <txtfile> Text File containing domains to transfer - <resolver> DNS Server that resolves missing domains + <transferns> DNS Server that does the zone transfer -h --help Show this screen. -v --version Show version. ``` Example use: ``` -# Reads domains from CSV, setup GNS Zones and adds records from zone transfer -gnsmigrator -c domainlist.csv # Reads domains from Textfile, setup GNS Zones and adds records from zone transfer gnsmigrator -f domainlist.txt -# Does the above and adds GNS2DNS records for every non-zone local NS record using provided resolver -gnsmigrator -f domainlist.txt -r 1.1.1.1 +# Contacts the nameserver to transfer the specified top level domain +gnsmigrator -t se. -ns zonemaster.iis.se. ``` diff --git a/requirements.txt b/requirements.txt @@ -2,4 +2,7 @@ cffi==1.11.5 coverage==4.5.1 dnspython==1.15.0 docopt==0.6.2 +mock==2.0.0 +pbr==4.2.0 pycparser==2.18 +six==1.11.0