namecheap-ddns-docker icon indicating copy to clipboard operation
namecheap-ddns-docker copied to clipboard

Feature request: Multiple hosts

Open roessland opened this issue 3 months ago • 0 comments

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.

roessland avatar Mar 17 '24 11:03 roessland