Closed JuneTwooo closed 2 years ago
Describe the bug I have 5 domains on CloudFlare, since some month, godns just update the latest in the config file 5x
The frequency of this issue
Steps to Reproduce
Your GoDNS configuration { "provider": "Cloudflare", "email": "", "password": "", "domains": [ { "domain_name": "domain1.com", "sub_domains": ["@"] }, { "domain_name": "domain2.me", "sub_domains": ["@"] }, { "domain_name": "domain3.com", "sub_domains": ["@"] }, { "domain_name": "domain4.com", "sub_domains": ["@"] }, { "domain_name": "domain5.com", "sub_domains": ["@"] } ], "resolver": "8.8.8.8", "ip_url": "https://ifconfig.co", "ip_type": "IPv4", "interval": 300, "socks5_proxy": "" }
Expected behavior Update all domains
Logs time="2022-07-05T21:49:40Z" level=info msg="GoDNS started, entering main loop..." time="2022-07-05T21:49:40Z" level=info msg="Creating DNS handler with provider: Cloudflare" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:43Z" level=info msg="Record OK: domain5.com - ..."
Environment:
Thanks for the feedback, this issue is introduced by commit https://github.com/TimothyYe/godns/commit/74bd598b735e9b1a772c28ff632eee595ec08777
I've fixed it, please use the latest version v2.8.1
Describe the bug
I have 5 domains on CloudFlare, since some month, godns just update the latest in the config file 5x
The frequency of this issue
Steps to Reproduce
Your GoDNS configuration
{ "provider": "Cloudflare", "email": "", "password": "", "domains": [ { "domain_name": "domain1.com", "sub_domains": ["@"] }, { "domain_name": "domain2.me", "sub_domains": ["@"] }, { "domain_name": "domain3.com", "sub_domains": ["@"] }, { "domain_name": "domain4.com", "sub_domains": ["@"] }, { "domain_name": "domain5.com", "sub_domains": ["@"] } ], "resolver": "8.8.8.8", "ip_url": "https://ifconfig.co", "ip_type": "IPv4", "interval": 300, "socks5_proxy": "" }
Expected behavior
Update all domains
Logs
time="2022-07-05T21:49:40Z" level=info msg="GoDNS started, entering main loop..." time="2022-07-05T21:49:40Z" level=info msg="Creating DNS handler with provider: Cloudflare" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:40Z" level=info msg="Checking IP for domain domain5.com" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:41Z" level=info msg="Querying records with type: A" time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:42Z" level=info msg="Record OK: domain5.com - ..." time="2022-07-05T21:49:43Z" level=info msg="Record OK: domain5.com - ..."
Environment: