discovery: fix panic in DNS fallback SRV lookup
This commit fixes a bug in LND's DNS seed bootstrap code that could crash the node. The code assumed every record in a DNS response was an SRV record, so a non-SRV record (like a normal A or CNAME record) would cause a panic. The fix safel…
2a3642c6by Erick Cestari+252−52 files