Code example for HostNameResolver

Methods: resolve