NetworkCommons / sig0namectl

Open dynamic DNS name management with SIG(0) update delegation.
https://sig0namectl.networkcommons.org
GNU Affero General Public License v3.0
12 stars 3 forks source link

RequestKey in the Browser! #31

Closed cryptix closed 4 months ago

cryptix commented 4 months ago
const newUpdater = goFuncs["newUpdater"]

// create a vehicle to publish signed updates
const u = newUpdater("Kwasm-wrapped2.zenr.io.+015+30080", "zenr.io", "doh.zenr.io")

// add your records
u.addRR("update1.wasm-wrapped2.zenr.io 300 IN A 1.2.3.4")

// send the update
u.signedUpdate().then(ok => console.log(`okay! ${ok}`)).catch(err => alert(err.message))