tunix / digitalocean-dyndns

Dynamic DNS using DigitalOcean's DNS Services
75 stars 30 forks source link

Create sub domain if it does not exist #19

Closed ringvold closed 3 years ago

ringvold commented 3 years ago

It would be nice to not need to go into DO and create the subdomain when adding a new subdomain to update. This PR adds functionality that creates a record for the current sub domain if it does not exist.

EDIT: Added IP address check to handle some error conditions that occurred when testing this feature.