[package] add "resolveip", a small DNS lookup utility for use in scripts (#4876)