Hi,
I just found out that my DDNS doesn't work with caddy 2.0:
"error","ts":"2025-05-21T08:17:05Z","logger":"dynamic_dns","msg":"unable to
lookup current IPs from DNS records","error":"parsing Cloudflare DNS record
{ID:bbfce466a6cdafa8c25038805f0646fe Type:SRV
Name:_sipfederationtls._tcp.example.de Content:1 5061 sipfed.online.lync.com
Priority:100 Proxiable:false Proxied:false TTL:1 Locked:false ZoneID: ZoneName:
CreatedOn:2024-04-30 19:17:18.604027 +0000 UTC ModifiedOn:2024-04-30
19:17:18.604027 +0000 UTC Data:{LatDegrees:0 LatMinutes:0 LatSeconds:0
LatDirection: LongDegrees:0 LongMinutes:0 LongSeconds:0 LongDirection:
Altitude:0 Size:0 PrecisionHorz:0 PrecisionVert:0 Service: Proto: Name:
Priority:100 Weight:1 Port:5061 Target:sipfed.online.lync.com Value: Tag:
Flags:0 Protocol:0 Algorithm:0 KeyTag:0 DigestType:0 Usage:0 Selector:0
MatchingType:0 Content:} Meta:0x86c514d80}: name _sipfederationtls._tcp does not
contain enough fields; expected format: '_service._proto.name'"}
This was working flawless in the last version before 2.0 - I think it's related to:
https://caddy.community/t/ech-errors-with-srv-records/30852 (https://caddy.community/t/ech-errors-with-srv-records/30852)
https://github.com/libdns/libdns/pull/164 (https://github.com/libdns/libdns/pull/164)
https://forum.opnsense.org/index.php?topic=47216.0
Yes, I'm aware of that - this is Cloudflare
We pull the latest dependencies in the build. If it does not work, it might be a good choice to post in the caddy forum or open an issue on their github.
I do not have a cloudflare setup to troubleshoot any of this.
To find out your current build just use this in the command line of the OPNsense:
root@opn03:~ # caddy build-info
Right now we are on this version:
dep github.com/caddyserver/caddy/v2 v2.10.0 h1:fonubSaQKF1YANl8TXqGcn4IbIRUDdfAkpcsfI/vX5U=
dep github.com/caddy-dns/cloudflare v0.2.1 h1:yPkLUUyi3Yscic+wNFGaSmMdTo7uQS2AGD2gEiGLlIY=
dep github.com/cloudflare/circl v1.6.0 h1:cr5JKic4HI+LkINy2lg3W2jF8sHCVTBncJr5gIIq7qk=
dep github.com/libdns/cloudflare v0.2.1 h1:E8aoP5o79AU47t1XyzCgSecST3GvWv/nC3ycibg0t+o=
dep github.com/libdns/libdns v1.0.0-beta.1 h1:KIf4wLfsrEpXpZ3vmc/poM8zCATXT2klbdPe6hyOBjQ=
Thanks - I'll file a bug report on the caddy forum.