Open piknikSteven2021 opened 10 months ago
While I don't pretend to know Go and how to fix this, I can point to this line as to why DNS is not working anymore.
I'm experiencing the same issue where this change broke my docker compose and kubernetes deployments where I was using DNS to automatically resolve and connect form workers to the miner.
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
dns4/<dns name>
rather than IPv4.Describe the Bug
It appears that DNS support for miner API on the lotus-worker has been removed (though I don't think it appears DNS support was intended). On several of my workers after upgrading to v1.25.0 - I noticed the following error:
Host nslookup of the DNS names resolved with zero issues - the issues were prevalent only on the lotus-worker itself. It appears to me that the changes made to support IPv6 has ended up dropping DNS unintentionally. In this commit, at line 750-751 you can see that lotus-worker would just parse the miner API to get the address and port. But they were removed in favor of 765-774 and 779-786.
Logging Information