optionally resovle dns