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

Query answer to json #47

Closed cryptix closed 3 months ago

cryptix commented 3 months ago
const q = window.goFuncs.query

const jsonAnswer = await q("test.ho.st", "KEY")
console.log(JSON.parse(jsonAnswer))

or on the CLI via

./sig0namectl --server 9.9.9.9 q --json --type KEY cryptix.zenr.io | jq .