Skip to content

ddiguy/verisign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

verisign

Purpose is to export list of domains from Verisign


Purpose of get-verisign-zones.py script is to export domains from Verisign

You can see the documentation here, Verisign REST API Swagger

This script exports all domains. Before using it, you'll need to edit the apikey and account_id variables. See detailed information below in the Usage Example section.

I suggest that you use a read-only API user as a best practice.

Installation & Dependencies

Python 3.6 installed

The following modules installed:

  1. json
  2. requests

Usage example

To run this from command line:

./get-verisign-zones.py

These are configurable items in the script:
1. Proxy Information:


The script assumes you don't need to go through a proxy. If you have a proxy setup at work, then edit the variables section of the script and put in the correct proxy for http_proxy & https_proxy.

You will also need to change this line in the script from:
verify=False

to

proxies=proxyDict, verify=False

2. Number of pages:


The script assumes that you have 10,000 or less zones with Verisign. They limit the return results to 500 per page. Increase the enumerate number from 21 to allow you to export all zones. For example, if you have 15,000 zones change 21 to 31.

Change the number 21 in this line in script:

h = enumerate(range(1, 21), 1)

Release History

  • 0.0.1
    • Initial version

Meta

Brian Bullard – [email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/ddiguy/verisign

Contributing

  1. Fork it (https://github.com/ddiguy/verisign/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request