1

Command

nslookup seed.bitcoin.sipa.be

gives a list of 40 nodes.

1) Does Bitcoin wallet take all nodes from that list?

or

2) Does Bitcoin wallet behave like normal application that resolves seed.bitcoin.sipa.be and take only one IP address to connect.

0

seed.bitcoin.sipa.be and the other DNS seeders listed here will return a list of IP addresses when given a DNS query. Bitcoin Core then takes all of those IP addresses and adds them to its internal address manager. It will then attempt connecting to the addresses stored in its address manager which, after the first start, will consist of more than just the nodes returned by the DNS seeders.

  • Thanks. So this means that even if DNS seed returns a few invalid IP adresses it's not a problem because Bitcoin Core takes all IP adresses and finds the working ones. – JPX Oct 11 '17 at 12:49
  • Yes. And there are multiple DNS seeders so it will get nodes from other DNS seeders too. – Andrew Chow Oct 11 '17 at 14:17
  • If you define addnode=seed.xxxxxx.com or type addnode seed.xxxxxx.com add does Bitcoin Core add all IP addresses or just one IP address to it's address manager? – JPX Oct 15 '17 at 13:20
  • You cannot add DNS seeders via the command line or the RPC commands. addnode will add the one node that you enter to the address manager and then attempt to connect to it. There are no "all IP addresses" for it to even add; you are only giving it one IP address. – Andrew Chow Oct 15 '17 at 15:16
0

The bitcoin client will first try to scan for previous known IPs, once that fails, it will indeed fall back on DNS seeds.

It will resolve seed.bitcoin.sipa.be to a list of IP adresses and it will pick one of them.

  • What if there is multiple DNS seeds? Will client pick one IP address from each DNS seed? – JPX Oct 10 '17 at 20:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.