fire1ce / UDM-Cloudflare-DDNS

Cloudflare DDNS container for UDM

Home Page:https://3os.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to perform DNS update with multiple zone ID

PeterWan816 opened this issue · comments

The API have access to all zones, but with different subdomains. (6 sub domains which at this point points to the same ip) that needs to be updated by the same DDNS setup. despite of the Log showing that the relevant subdomain has been updated, it did not update according to the Cloudflare Dashboard. the settings was separated like below:"sub1.example.com, sub2.example.com, sub3.example.com,..., sub6.example.com"

the bug has been found, its near the Telegram notification line. Author you copy and pasted too fast, exit 0 ends the entire program, the program should not use exit 0 at the section, instead it should simply continue with no further action needed. I solved the issue by commenting the exit 0 line and added echo "" incase the condition is useful in the future.