namecheap-ddns-docker
namecheap-ddns-docker copied to clipboard
Feature request: Multiple hosts
I have a few subdomains all pointing to my homelab. It would be useful if I could provide multiple hosts, and update them all at once.
For example:
docker run --name server.example.com -d --restart unless-stopped -e NC_HOST='server,another,third' -e NC_DOMAIN='example.com' -e NC_PASS='DynamicDDNSPa2w0rd' linuxshots/namecheap-ddns
and the expected result is that server.example.com, another.example.com and third.example.com should now point to my current IP. My workaround for now is to run 5-6 copies, but this calls getPubIP more than necessary.