Support many dns, configuration is replaced by ini, other changes