caddy-dynamicdns
caddy-dynamicdns copied to clipboard
Caddy looking for A record even though I only have IPv6 configured
From the caddy logs:
caddy | {"level":"info","ts":1745956749.301625,"logger":"dynamic_dns","msg":"domain not found in DNS","domain":"subdomain.mydomain.com","type":"A"}
and my caddyfile
{
dynamic_dns {
provider cloudflare {
zone_token
api_token
}
domains {
mydomain.com subdomain
}
versions ipv6
ip_source interface ens9
}
}
subdomain.mydomain.com:443 {
tls {
dns cloudflare {
zone_token
api_token
}
}
reverse_proxy localhost:4533
}
Not sure why it would look for an A record for the domain, is that expected?
FYI @matthewpi
FYI, I think the same (in reverse) happens for ipv4 …
(Global) Config: versions ipv4
Log: { […] "msg": "domain not found in DNS", […] "type": "AAAA" }
KR
Yeah I keep getting logs complaining about lack of AAAA record with only versions ipv4 in my global directive