Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
cloudflare-dynamic-dns
Advanced tools
Changelog
1.0.2 ##
Readme
cloudflare-dynamic-dns is a Node.js module that updates a particular Cloudflare DNS record with an IP address, creating it if it does not exist.
The easiest way to install cloudflare-dynamic-dns is using npm:
npm install cloudflare-dynamic-dns
You can also build cloudflare-dynamic-dns from source using npm:
git clone https://github.com/michaelkourlas/node-cloudflare-dynamic-dns.git
npm install
npm run-script build
The build
script will build the production variant of
cloudflare-dynamic-dns, run all tests, and build the documentation.
You can build the production variant without running tests using the script
prod
. You can also build the development version using the script dev
.
The only difference between the two is that the development version includes
source maps.
The documentation for the current version is available here.
You can also build the documentation using npm:
npm run-script docs
The following example illustrates the basic usage of cloudflare-dynamic-dns:
var ddns = require("cloudflare-dynamic-dns");
var options = {
auth: {
email: "<email>",
key: "<key>"
},
recordName: "foo.bar.com",
zoneName: "bar.com"
};
ddns.update(options, function(err) {
if (err) {
console.log("An error occurred:");
console.log(err);
} else {
console.log("Success!");
}
});
Additional examples can be found in the examples directory.
cloudflare-dynamic-dns includes a set of tests to verify core functionality. You can run the tests using npm:
npm run-script test-prod
The only difference between the test-prod
and test-dev
scripts is that the
development version includes source maps.
cloudflare-dynamic-dns is licensed under the Apache License 2.0. Please see the LICENSE.md file for more information.
FAQs
Updates a Cloudflare DNS address record with an IP address or hostname
The npm package cloudflare-dynamic-dns receives a total of 6 weekly downloads. As such, cloudflare-dynamic-dns popularity was classified as not popular.
We found that cloudflare-dynamic-dns demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.