-
Hi, I'm trying to setup Inadyn for Cloudflare, but I'm having some trouble. I'm not really sure what the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
I have never used Cloudflare myself, to the best of my knowledge the existing documentation and examples should cover it. E.g.:
|
Beta Was this translation helpful? Give feedback.
-
I also am having trouble getting cloud flare set up. My config might help you. Note that my problem is different: @troglobit, while I can get it to add new records to cloud flare DNS, I cannot get it to update existing ones with the new IP address. Here is the config, with just the uncommented stuff (note that I am trying to update several domains in this config, all seem to work if I first delete the A-record with the IP, but if the record exists it doesn't update it): `# How often the IP is checked. The value denotes seconds provider cloudflare.com:1 { provider cloudflare.com:2 { provider cloudflare.com:3 { provider cloudflare.com:4 { provider cloudflare.com:5 { provider cloudflare.com:6 { provider cloudflare.com:7 { ` |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thank you @SimonPilkington, because I need to update multiple domains on the same Cloudflare account, I have mine set to “all zones from a specific user” but I could just as easily use “all zones.” The option to select specific zones is greyed out, maybe I had to set this when I created the token or maybe my account just doesn’t allow it, but I cannot use it for multiple domains anyway. One thing I didn’t realize because of this is that my domains in the config should maybe have the .tld extension, does this apply in the config file for inadyn as well? For example, should mydomain.com be mydomain.com.tdl instead? |
Beta Was this translation helpful? Give feedback.
-
Finally, it appears inadyn was working correctly, it was me that was the problem, and my method of testing. i assumed that inadyn checks the IP of my TLD against the current IP of the server, but in fact it first checks if the server’s IP has changed since it was last run, and then updates the server. So in my case to test it I was modifying the IP on Cloudflare and then running inadyn to correct it. Inadyn, however, checked and saw that the server’s IP had not changed, so it never went further unless I applied the --force command. To test this I rebooted my modem to get a new IP address, and sure enough, running inadyn corrected it immediately. My problem is solved tentatively for now. |
Beta Was this translation helpful? Give feedback.
Finally, it appears inadyn was working correctly, it was me that was the problem, and my method of testing.
i assumed that inadyn checks the IP of my TLD against the current IP of the server, but in fact it first checks if the server’s IP has changed since it was last run, and then updates the server.
So in my case to test it I was modifying the IP on Cloudflare and then running inadyn to correct it. Inadyn, however, checked and saw that the server’s IP had not changed, so it never went further unless I applied the --force command.
To test this I rebooted my modem to get a new IP address, and sure enough, running inadyn corrected it immediately. My problem is solved tentatively for now.