This is a client wrapper for the Unoeuro API. To use it, you need an account and a key for the API.
All of the methods of the library return promises.
This library is not yet mature, and still lacks features of the UnoEuro API. Pull requests are welcome.
Installation
npm install --save unoeuro-dns
Usage
const api = 'ACCOUNTNO' 'KEY'; // Get all productsapi; // Get all product objectsapi; // Get availability status for domainapi;api; // DNS recordsapi ; api ; api ; api ; api ; api ; api ; api ; api ; // Buy a domainapi;
DNS records
When inserting or editing DNS records, the fields that can be configured are:
const record = name: '@' // Required. @ = root domain, any other string is a subdomain and * can be used for wildcards type: 'A' // Required. Record type (A, MX, etc.) data: '100.100.100.100' // Required. The IP or data for the record ttl: 600 // Optional. Time-To-Live for the record. priority: 0 // Optional. Record priority. ; api;