node-ovh-domain
v0.0.3
Published
Command line tools for OVH API domain
Downloads
1
Readme
ovh-domain
Command line tool to view and edit OVH Domain zone through api.
Installation
npm install -g node-ovh-domain
Configuration
Create an application.
Configure ovh-domain
ovh-domain configure <app_key> <app_secret>
You have to validate the generated consumer key with the returned URL. Be careful with the validity duration !
You can specify the endpoint on configure command
ovh-domain configure <app_key> <app_secret> ovh-ca
More details can be found here and here.
Usage
You can get the full list of commands
ovh-domain list
Some examples :
- get zones list :
ovh-domain zones
- view a zone :
ovh-domain show toto.com
- create a record:
ovh-domain create toto.com r1 CNAME www.google.com.
- delete a record:
ovh-domain delete toto.com r1
- update a record:
ovh-domain create toto.com r1 www.yahoo.com.