@firstdorsal/powerdns-api
Advanced tools
Comparing version 1.7.0 to 1.7.1
11
index.js
@@ -278,2 +278,3 @@ 'use strict'; | ||
} | ||
console.log(rrsets); | ||
return f(this.baseurl + '/zones/' + zoneName, { | ||
@@ -615,3 +616,3 @@ method: 'PATCH', | ||
domain: 'example.com', | ||
nameserver: ['ns1.paulisttoll.somedomain', 'ns1.paulisttoll.somedomain', 'ns1.paulisttoll.somedomain'], | ||
nameserver: ['ns1.paulisttoll.somedomain', 'ns2.paulisttoll.somedomain', 'ns3.paulisttoll.somedomain'], | ||
hostmasterEmail:'hostmaster@paulisttoll.somedomain', | ||
@@ -626,3 +627,3 @@ | ||
await this.setRecords([{ | ||
name: "example.com", | ||
name: zone.domain, | ||
type: "SOA", | ||
@@ -632,7 +633,9 @@ ttl: 3600, | ||
}, { | ||
name: "example.com", | ||
name: zone.domain, | ||
type: "NS", | ||
ttl: 3600, | ||
content: zone.nameserver.map(e => this.absoluteName(e)) | ||
}]); | ||
}]).catch(e => { | ||
console.log(e) | ||
}); | ||
return await this.createCryptokey(zone.domain); | ||
@@ -639,0 +642,0 @@ |
{ | ||
"name": "@firstdorsal/powerdns-api", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Nodejs PowerDNS API Client.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -455,3 +455,3 @@ | ||
domain: 'example.com', | ||
nameserver: ['ns1.paulisttoll.somedomain', 'ns1.paulisttoll.somedomain', 'ns1.paulisttoll.somedomain'], | ||
nameserver: ['ns1.paulisttoll.somedomain', 'ns2.paulisttoll.somedomain', 'ns3.paulisttoll.somedomain'], | ||
hostmasterEmail:'hostmaster@paulisttoll.somedomain', | ||
@@ -458,0 +458,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44365
613