This tool aims to help Domain Connect service providers to debug syncPubKeyDomain setup. Typical usage should look something like below.
go install github.com/kerolasa/dc-debug-pubkey@latest
$GOPATH/dc-debug-pubkey --help
Usage: ./dc-debug-pubkey ./example.template.json ./example.private-key.pem 'VTxLc7lHPIJ2HnTVI0UvlCY8dTeomjujk6I9H2T6rupu8toH045SvnuPIY89yXd'
./dc-debug-pubkey --loglevel debug --postdata ./example.post.json ./example.template.json
-key string
host prefix in syncPubKeyDomain, when empty the domain is queried
-loglevel string
loglevel can be one of: panic fatal error warn info debug trace (default "info")
-postdata string
path to POST data json (omits need to have private key)
See also https://exampleservice.domainconnect.org/sig
The private key is generated by the service provider. See exampleservice link for instructions how to do that. The template is the data service provider gives to DNS Providers to, and has information what TXT record the DNS Providers need to use to verify updates.
See also: