mietzen / porkbun-ddns

porkbun-ddns is an unoffical DDNS-Client for Porkbun Domains.
MIT License
134 stars 10 forks source link

domain and subdomain #19

Closed woolmonkey closed 1 year ago

woolmonkey commented 1 year ago

hello I'm wondering if you can update the root domain and sub domain records at the same time? Now as far as I know I type porkbun-ddns configfile domain.com and porkbun-ddns configfile domain.com '*' to update the records for my root domain and then the wildcard one. Or am I doing something wrong?

mietzen commented 1 year ago

No not without a loop / multiple cron jobs, @LunarEclipse363 has a forked were they implemented updating multiple subdomains via python CLI (https://github.com/LunarEclipse363/porkbun-ddns/tree/main).

I wanted to merge the changes back, but I need to adjust some stuff. I opened a draft PR https://github.com/mietzen/porkbun-ddns/pull/20 you can track the progress there.