sorted the arguments out for everyting but dns