Skip to content

fix(GetRecords): return typed libdns records for caddy-dynamicdns#16

Open
zazabe wants to merge 1 commit into
libdns:masterfrom
zazabe:fix-get-records
Open

fix(GetRecords): return typed libdns records for caddy-dynamicdns#16
zazabe wants to merge 1 commit into
libdns:masterfrom
zazabe:fix-get-records

Conversation

@zazabe

@zazabe zazabe commented Jun 1, 2026

Copy link
Copy Markdown

caddy-dynamicdns#85 changed lookupCurrentIPsFromDNS to only accept libdns.Address:

ar, ok := r.(libdns.Address)
if !ok {
    continue
}

Previously, dynamic_dns parsed A/AAAA from generic record fields (Type, Value, etc.). After the upgrade it relies on providers returning the standard typed structs from GetRecords.

…icdns

lookupCurrentIPsFromDNS accept libdns.Address only now, when libdns/gandi returns libdns.RR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant