lnd.xprv/discovery
Olaoluwa Osuntokun 5b226a9d37
discovery: add TCP fallback for DNSSeedBootstrapper
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.
2017-10-30 19:00:27 -07:00
..
ann_validation.go discovery: rename validation.go to ann_validation.go 2017-09-03 16:18:28 -07:00
bootstrapper.go discovery: add TCP fallback for DNSSeedBootstrapper 2017-10-30 19:00:27 -07:00
gossiper_test.go multi: Update lnd to use new feature vector API. 2017-10-17 22:47:20 -07:00
gossiper.go discovery/gossiper: isolate sync with node from query 2017-10-27 15:48:37 -07:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
utils.go multi: Update lnd to use new feature vector API. 2017-10-17 22:47:20 -07:00