moving dns resolution back to .connect
cleaning up