This script will fetch all your OVH DNS Zones and export them in a TXT file
- Made in Node.js, inspired from this repository in ruby
- We use OVH Node.js wrapper for their API
- Make sure node.js and npm are installed on your computer
node -v && npm -v
. This script has been developed with node v16.15.1 and npm 8.13.2 - Install packages
npm i
- Get your OVH Keys and fill
config.json
- Run your export with
npm run export
- You will have to validate a token for the execution, your default browser should open, login and authorize your app within the next 10 seconds
- Your export will be available in the directory
export/YYYY-MM-DD
with one TXT file per zone - The script might return a list of errors if you have expired domains
Depending the API you want to use, you need to specify the API END_POINT in config.json
:
- OVH Europe: ovh-eu (default)
- OVH North-America: ovh-ca
- RunAbove: runabove-ca
- SoYouStart Europe: soyoustart-eu
- SoYouStart North-America: soyoustart-ca
- Kimsufi Europe: kimsufi-eu
- Kimsufi North-America: kimsufi-ca
v1.0 - 2023-01-18
- Working export of all OVH DNS Zones
You found a bug? You need a new feature? You can create an issue if needed or contact me on Twitter.