ipaddress resolver works if printed from addressmapper class