Fix deprecated -dns argument. Add host support