You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hitesh 52d8943ac6 bug fix 1 year ago
lib bug fix 1 year ago
.gitignore initial commit 1 year ago
.prettierrc initial commit 1 year ago
AUTHORS bug fix 1 year ago initial commit 1 year ago
example.env initial commit 1 year ago
index.js initial commit 1 year ago
package-lock.json package updates 1 year ago
package.json bug fix 1 year ago
test.js initial commit 1 year ago

acme-dns-01-godaddy | a Root project

Godaddy DNS + Let's Encrypt for Node.js

This handles ACME dns-01 challenges, compatible with ACME.js and Greenlock.js. Passes acme-dns-01-test.


npm install --save acme-dns-01-godaddy@3.x


First you create an instance with your API token:

var dns01 = require('acme-dns-01-godaddy').create({
	baseUrl: '', // default
	key: 'xxxx',
	secret: 'xxxx'

Then you can use it with any compatible ACME module, such as Greenlock.js or ACME.js.


var Greenlock = require('greenlock-express');
var greenlock = Greenlock.create({
	challenges: {
		'dns-01': dns01
		// ...

See Greenlock™ Express and/or Greenlock.js documentation for more details.



See the ACME.js for more details.

Build your own

		identifier: { value: '' },
		wildcard: false,
		dnsHost: '',
		dnsAuthorization: 'xxx_secret_xxx'
	.then(function() {
		console.log('TXT record set');
	.catch(function() {
		console.log('Failed to set TXT record');

See acme-dns-01-test for more implementation details.


# node ./test.js domain-zone api-key api-secret
node ./test.js xxxxxx xxxxxx