New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@marxlnfcs/powerdns

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

@marxlnfcs/powerdns

Provides a client to interact with the powerdns api

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

PowerDNS Client

A NodeJS client to communicate with the PowerDNS API.

npm NPM Snyk Vulnerabilities for npm package Website

Installation

npm i @marxlnfcs/powerdns

Usage

/** SimpleClient */
(async () => {
     
    // create a new simple client instance
    const client = createPowerDNSSimpleClient({
        baseUrl: 'http://localhost:8082/api/v1',
        apiKey: 'apikey'
    });
    
    // get information about the domain "example.com"
    console.log(await client.getDomain("example.com"));

});

/** AdvancedClient */
(async () => {

    // create a new advanced client instance
    const client = createPowerDNSAdvancedClient({
        baseUrl: 'http://localhost:8082/api/v1',
        apiKey: 'apikey'
    });
    
    // get information about the zone "example.com" with records
    console.log(await client.getZone("example.com", {
        rrsets: true
    }));

});

Simple client

The simple client integrates all common functions for domain management.

Features
  • List domains
  • Get domain info
  • Create domain
  • Create domain with dnssec, nameservers, hostmaster and records
  • Delete domain
  • List records
  • Add record(s)
  • Set record(s)
  • Remove record(s)

Advanced client

The advanced client is directly connected to the PowerDNS API and has all API-endpoints implemented.

Features
  • Servers
    • List servers
    • Get info
    • List configs
  • Zones
    • List
    • Get info
    • Export as AXFR
    • Rectify
    • Create / Update / Delete
    • Update records
    • Retrieve slave from master
    • Notify all slaves
  • CryptoKeys
    • List
    • Get info
    • Create
    • Enable/Disable
    • Delete
  • Metadata
    • List
    • Get info
    • Create
    • Update
    • Delete
  • TSIG Keys
    • List
    • Get info
    • Create
    • Update
    • Delete
  • AutoPrimaries
    • List
    • Add
    • Delete
  • Others
    • Search
    • Get statistics
    • Flush cache

Keywords

FAQs

Package last updated on 11 Apr 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc