Changed dns query method, so we can put ip addresses into the list of bootstrap servers instead of only full qualified domain names.