Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dnspod-import-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnspod-import-core

Import A records into dnspod

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

dnspod-import-core

同步 DNS 记录到 DNSPod 指定的域名下

配置

环境变量备注
LOGIN_TOKENDNSPod 用于鉴权的 API Token
DOMAIN_ID域名 Id
REMOVE是否删除本地不存在的记录

示例代码

准备要映射的对象

const map = {
  'dev':'10.0.0.1'
};

调用 apply 方法

const apply = require('dnspod-import-core');
apply(map);

验证

登录到 DNSPod 的后台,可以看到添加了一条 dev 的解析记录

开源协议

MIT

关于

DNSPod 是 腾讯旗下的云解析平台。

Keywords

FAQs

Package last updated on 19 May 2016

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