5b226a9d37
In this commit, we add a TCP fallback option for the DNSSeedBootstrapper. We’ve received many reports of users unable to bootstrap properly to the network due to the size of the SRV records we currently return. It has been observed that many revolvers will simply truncate and ignore the response due to the (current size). To resolve (no pun intended) we now attempt to detect this failure mode and will fallback to a manual TCP resolution in the case that our SRV query over UDP fails. We do this by querying the special record at the "soa." sub-domain of supporting DNS servers. The retuned IP address will be the IP address of the authoritative DNS server. Once we have this IP address, we'll connect manually over TCP to request the SRV record. This is necessary as the records we return are currently too large for a class of resolvers, causing them to be filtered out. |
||
---|---|---|
.. | ||
ann_validation.go | ||
bootstrapper.go | ||
gossiper_test.go | ||
gossiper.go | ||
log.go | ||
utils.go |