I turned down the interval to 1 minute and let it go, but my question was more so the āold_ipsā only has the IPv6 without the IPV4 and the ācurrent_ipsā has both the IPV4 and the IPV6 in the debug out.
If the IPV4 is missing from the logs in old_ips, it updates it just the first time so Iād surmise something is going wrong in that very first check as the subsequent ones work.
1 minute internal log:
Feb 23 07:09:43 phoenix caddy[2880]: {"level":"debug","ts":1677154183.1979156,"logger":"dynamic_dns","msg":"beginning IP address check"}
Feb 23 07:09:44 phoenix caddy[2880]: {"level":"debug","ts":1677154184.077126,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv4","endpoint":"https://api64.ipify.org","ip":"98.1.2.3"}
Feb 23 07:09:44 phoenix caddy[2880]: {"level":"debug","ts":1677154184.3872108,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv6","endpoint":"https://api64.ipify.org","ip":"2600:4040:7aed:c000:6662:66ff:ab12:1234"}
Feb 23 07:09:44 phoenix caddy[2880]: {"level":"info","ts":1677154184.3872962,"logger":"dynamic_dns","msg":"different IP address","new_ip":"98.1.2.3","old_ips":["2600:4040:7aed:c000:6662:66ff:ab12:1234"]}
Feb 23 07:09:44 phoenix caddy[2880]: {"level":"info","ts":1677154184.3873358,"logger":"dynamic_dns","msg":"updating DNS record","zone":"blah.com","type":"A","name":"home","value":"98.1.2.3","ttl":0}
Feb 23 07:09:44 phoenix caddy[2880]: {"level":"info","ts":1677154184.7306595,"logger":"dynamic_dns","msg":"finished updating DNS","current_ips":["98.1.2.3","2600:4040:7aed:c000:6662:66ff:ab12:1234"]}
Feb 23 07:10:43 phoenix caddy[2880]: {"level":"debug","ts":1677154243.1987116,"logger":"dynamic_dns","msg":"beginning IP address check"}
Feb 23 07:10:43 phoenix caddy[2880]: {"level":"debug","ts":1677154243.547978,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv4","endpoint":"https://api64.ipify.org","ip":"98.1.2.3"}
Feb 23 07:10:43 phoenix caddy[2880]: {"level":"debug","ts":1677154243.9142442,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv6","endpoint":"https://api64.ipify.org","ip":"2600:4040:7aed:c000:6662:66ff:ab12:1234"}
Feb 23 07:10:43 phoenix caddy[2880]: {"level":"debug","ts":1677154243.914321,"logger":"dynamic_dns","msg":"no IP address change; no update needed"}
Feb 23 07:11:43 phoenix caddy[2880]: {"level":"debug","ts":1677154303.1978972,"logger":"dynamic_dns","msg":"beginning IP address check"}
Feb 23 07:11:43 phoenix caddy[2880]: {"level":"debug","ts":1677154303.5212939,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv4","endpoint":"https://api64.ipify.org","ip":"98.1.2.3"}
Feb 23 07:11:43 phoenix caddy[2880]: {"level":"debug","ts":1677154303.8665137,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv6","endpoint":"https://api64.ipify.org","ip":"2600:4040:7aed:c000:6662:66ff:ab12:1234"}
Feb 23 07:11:43 phoenix caddy[2880]: {"level":"debug","ts":1677154303.8665922,"logger":"dynamic_dns","msg":"no IP address change; no update needed"}
Feb 23 07:12:43 phoenix caddy[2880]: {"level":"debug","ts":1677154363.1979027,"logger":"dynamic_dns","msg":"beginning IP address check"}
Feb 23 07:12:43 phoenix caddy[2880]: {"level":"debug","ts":1677154363.5568614,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv4","endpoint":"https://api64.ipify.org","ip":"98.1.2.3"}
Feb 23 07:12:47 phoenix caddy[2880]: {"level":"debug","ts":1677154367.2295194,"logger":"dynamic_dns.ip_sources.simple_http","msg":"lookup","type":"IPv6","endpoint":"https://api64.ipify.org","ip":"2600:4040:7aed:c000:6662:66ff:ab12:1234"}
Feb 23 07:12:47 phoenix caddy[2880]: {"level":"debug","ts":1677154367.2296069,"logger":"dynamic_dns","msg":"no IP address change; no update needed"}