dns host resolution no longer needed

hostname can now be used as argument