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

Failed to update IP record #129

Closed gzelvis closed 2 years ago

gzelvis commented 2 years ago

Describe the bug
when run godns, it told me

INFO[0000] GoDNS started, entering main loop...
INFO[0000] Creating DNS handler with provider:DNSPod
] Checking IP for domain *.com INFO[0000] lnc.**.com Start to update record IP... INFO[0000] Failed to update IP record:Incorrect record value

Your GoDNS configuration
Normal from your github DNSpod case

and i try curl https://api.myip.la , it can get the right ipv4 IP for the server

gzelvis commented 2 years ago

查到原因了,服务器开了ipv6,默认运行的话主动获取的是ipv6的地址

gzelvis commented 2 years ago

已经修复,centos7设置了优先ipv4后,一切正常了。