Is there anywhere I can programmatically register a subdomain, for free? Similar to how I can programmatically create a Let’s Encrypt account with certbot --non-interactive
?
I’m encrypting communications between a Raspberry Pi and Elasticsearch. A self-signed certificate is one option, but Let’s Encrypt will be better: Raspbian already includes the Let’s Encrypt CA, I’ll be able to access Kibana from any device, Certbot handles the automation. I just need a domain name.
I don’t want to register a domain for this throwaway project, I just want something I can embed in the Pi so it can locate the log server. I’m deploying the log server with AWS CloudFormation and Certbot is great because it lets me add a Let’s Encrypt account and certificate to the CloudFormation template. I’d like to similarly add a domain name.
I found a bunch of dynamic DNS providers, but none yet with a noninteractive registration process.
Any suggestions? How can the Pi locate the log server, and how can I automatically provision what I need (presumably a domain name)?