support custom hosts file