Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script bails if a zone doesn't exist #181

Open
TheFiZi opened this issue Mar 21, 2024 · 0 comments · May be fixed by #188
Open

Script bails if a zone doesn't exist #181

TheFiZi opened this issue Mar 21, 2024 · 0 comments · May be fixed by #188
Assignees

Comments

@TheFiZi
Copy link

TheFiZi commented Mar 21, 2024

Describe the bug
I recently got rid of two of my domains and forgot to update my config.json. When cloudflare-ddns had to fire because my IP changed it hit the first zone in the configuration file, which didn't exist anymore in CF, got an error from the Cloudflare API and stopped processing the remaining domains.

To Reproduce
Steps to reproduce the behavior:

  1. Delete a zone from Cloudflare
  2. Run start-sync.sh

Expected behavior
Throw an error about the zone not existing anymore in CF and continue processing the rest of the zones in the configuration file.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: N/A
  • Browser: N/A
  • Version: N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context
None

@cotton105 cotton105 linked a pull request Apr 29, 2024 that will close this issue
cotton105 added a commit to cotton105/cloudflare-ddns that referenced this issue Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants