[FOLD] Refactor DNS resolution out of Peers