HostNameOption uses wrong type

Fix HostNameOption to use correct type.