For letsencrypt wildcard certs for HTTPS, one step is to update the TXT record. Can I do it programmatically?
Each record appears to have an ID associated with it, so once logged in, you could make a POST request similar to the following with curl that would update a TXT record.
Code: Select all
# log in
curl -Lv -c cookies.txt -d login=login -d user=your_username -d 'pw=your password' https://members.sonic.net/
# update DNS
curl -Lv -b cookies.txt -c cookies.txt -d a=UpdateDNS -d dom_id=yourdomain.net -d update_id=your_record_id -d recordName= -d recordTTL=900 -d 'recordContent="your txt record content"' https://members.sonic.net/websites/nameservers/host_records/
Hope that helps!