exam 2.excellent, now with hostname resolution!