TimothyYe / godns

A dynamic DNS client tool that supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
https://timothyye.github.io/godns/
Apache License 2.0
1.5k stars 221 forks source link

Fix Cloudflare AAAA creation #242

Closed m4rcs closed 1 month ago

m4rcs commented 1 month ago

When running godns with Cloudflare and IPv6 mode. The creation of AAAA record failed, because the record type was hardcoded to A.

With this pull request the record creation takes the configured IP type into consideration.

TimothyYe commented 1 month ago

Thank you for your contribution!