Closed gt2416 closed 3 years ago
I think you probably just don't have an IPv6-enabled network?
Nope don’t have ipv6. It’s a business environment, I’m not sure if that’s something I want to enable. Anyway I can use ipv4? Also when I first start caddy I get the same error but it does update my dns. It’s just the checking after that.
Yeah, you can use IPv4. This plugin tries both and not having an interface isn't a problem.
Updates only happen if your IP address changes.
Ah ok. So changing the ip on the cloudflare dashboard to check won’t trigger it right ? That’s how I was testing it.
Right, otherwise we'd have to do DNS lookups, and those are relative anyway. This plugin just checks your own IP address, and if that changes, then it updates the record. I don't know why you would change the record yourself when the plugin is managing that for you anyways. :thinking:
Literally just to test it. It’s a business environment so I needed to make sure it works, and my IP changes every few days or once a week, didn’t want to wait lol.
When caddy first starts, it updates the dns ONLY if all the zones have different IP's to the current IP. If say I change an IP of 1 zone in cloudflare dashboard it does not update it. Also I kept my check interval at 1m, I can see in the logs it does try to check my current IP but never updates it UNLESS I restart caddy. Then it updates it ONCE and never again. So I have to keep restarting caddy when my ip changes. This is my caddy file
My Logs: