Skip to content

Exports domains in bind9 format and can import in to another Rackspace Cloud account

Notifications You must be signed in to change notification settings

awfabian-rs/Rackspace-DNS-Export-Import

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Rackspace-DNS-Export-Import

Exports domains in bind9 format and can import in to another Rackspace Cloud account

The DNS-Export-Import script will export (in bind9 format) a list of DNS IDs or a single ID if specified. Otherwise it will export all domains from the source cloud account specified. Has the option to import them in to another cloud account if specified as well.

Note: It is very important when running the transfer that the email is formatted correctly. If it is not it will fail. The format is name.domain.com. or for example johnsmith.gmail.com.

Usage Example WITHOUT IMPORTING domains (will export in bind9 only, will not delete source):

python dns_export_import.py --srcddi <source ddi> --srcuser <source user> --srcapikey <source api key> --domainid <your domain id> --email <name.domain.com.>

Usage Example SPECIFYING specific domain (will export, delete source, and import one domain specified):

python dns_export_import.py --dstddi <destination ddi> --dstuser <destination user> --dstapikey <destination api key> --srcddi <source ddi> --srcuser <source user> --srcapikey <source api key> --domainid <your domain id> --importdomains --email <name.domain.com.>

Usage Example WITH FILE and import (will export, delete source, and import domains inside file):

python dns_export_import.py --dstddi <destination ddi> --dstuser <destination user> --dstapikey <destination api key> --srcddi <source ddi> --srcuser <source user> --srcapikey <source api key> --dnsidfile </path/to/file> --importdomains --email <name.domain.com.>

Real Example WITHOUT FILE (will export, delete source, and import all domains):

python dns_export_import.py --dstddi 123456 --dstuser bob1 --dstapikey zcf0ec12d0df4deb9de9e00a47c5113c --srcddi 654321 --srcuser bob2 --srcapikey a755bbe91fbd4629995eeddb8b072d4z --importdomains --email johnsmith.gmail.com.

The format for the DNS ID file must follow this format

123456
456789
789456

About

Exports domains in bind9 format and can import in to another Rackspace Cloud account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%