How Bitcoin client handles DNS seeds? 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.
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.