Simplification about retrieving the default host.