caddy-dynamicdns icon indicating copy to clipboard operation
caddy-dynamicdns copied to clipboard

Caddy looking for A record even though I only have IPv6 configured

Open jm355 opened this issue 6 months ago • 1 comments

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?

jm355 avatar Apr 29 '25 20:04 jm355

FYI @matthewpi

francislavoie avatar Apr 29 '25 20:04 francislavoie

FYI, I think the same (in reverse) happens for ipv4 …

(Global) Config: versions ipv4 Log: { […] "msg": "domain not found in DNS", […] "type": "AAAA" }

KR

sokai avatar Aug 20 '25 17:08 sokai

Yeah I keep getting logs complaining about lack of AAAA record with only versions ipv4 in my global directive

Redmega avatar Aug 23 '25 15:08 Redmega