Skip to content

scotow/subdomain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subdomain

A simple OVH's API wrapper to list, create and delete subdomain(s) entry.

How to install

npm install -g https://github.com/Scotow/subdomain

Example

subdomain -d google.com --ip=8.8.8.8 -a dns -r dev

Create the subdomain "dns" and make it targets to 8.8.8.8, delete subdomain "dev".

Credentials

Setup your credentials by editing the credentials.json file in the project's directory and fill it using the following pattern:

{
	"appKey": "YOUR_APP_KEY",
	"appSecret": "YOUR_APP_SECRET_KEY",
	"consumerKey": "YOUR_CONSUMER_KEY"
}

App

Head to this link to create an app credentials. 🔑