Rename dns and call it during bootstrapping

Renamed dns to dnsBootstrapKnownNodes
Modified dnsBootstrapKnownNodes to query dns if there are less than 1000 nodes in stream 1
Call dnsBootstrapKnownNodes during bootstrapKnownNodes
Fix bugs in bootstrapKnownNodes