🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cpanel-zone-file

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpanel-zone-file

Generate DNS Zone from Cpanel

0.0.0
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

cpanel-zone-file

Export DNS Zone from Cpanel

Install

$ npm install cpanel-zone-file

Usage

import cpanelZoneFile from 'cpanel-zone-file';
import cpanelZoneData from 'cpanel-api-response';

// Simple
cpanelZoneExport(cpanelZoneData);

// Specify domain
cpanelZoneExport(cpanelZoneData, {domain: 'example.com'});

API

cpanelZoneFile(json, options?)

json

Type: Object

JSON data from Cpanel

options

Type: object

domain

Type: string
Default: ''

Specify a domain for the zone file

datetime

Type: string
Default: new Date().toISOString()

Specify a datetime for the zone file, defaults to current date

Keywords

cpanel

FAQs

Package last updated on 17 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts