Hi @aaron
I’ve managed to get the subdomain registrar running, but after attempting to register my first subdomain (which hasn’t gone through after about 12 hours - I think I have made a typo) I can’t register a new subdomain. Is there a way to kill the previous (pending?) subdomain registration? It seems that the IP address of my CLI-node is flagged at the moment.
Also another question I have: is the Blockstack-Core required to run the Subdomain Registrar? Or can you run this in any NPM environment? Thanks!
Error details below:
$ curl http://localhost:3000/status/citizen1 | jq . % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 95 0 95 0 0 103 0 --:–:-- --:–:-- --:–:-- 103
{
“status”: “Subdomain is queued for update and should be announced within the next few blocks.”
}
$ curl -X POST -H ‘Authorization: bearer API-KEY-IF-USED’ -H ‘Content-Type: application/json’ --data ‘{“zonefile”: "$ORIGIN newname\n$TTL 3600\n_https._tcp URI 10 1 "https://gaia.blockstack.org/hub/16kHpNLfMeyQx1n3EYkkAVV92tknug9Uae/profile.json"\n", “name”: “newname”, “owner_address”: “16kHpNLfMeyQx1n3EYkkAVV92tknug9Uae”}’ http://localhost:3000/register/
{“status”:false,“message”:"FBSK_SUBDOMAIN_CONFIG=/home/xxxxx/subdomain-registrar/config.json sudo npm run start
Subdomain registrar started
2018-03-20T20:23:09.036Z - warn: newname failed spam-check: IP address ::1 already registered 1 subdomains.
2018-03-20T20:23:09.038Z - error: Error: IP address ::1 already registered 1 subdomains.
at /home/xxxxx/subdomain-registrar/lib/server.js:139:17
@luckshas fyi