NB! It seems this console command is not compatible with CS2.
Command Profile

HOST_NAME_STORE

CS:GO

This command will set whether or not the server's hostname is recorded in game events and on GOTV (demos and live).

Syntax
host_name_store [0 / 1]

Description

This command will set whether or not the server's hostname is recorded in game events and on GOTV (demos and live).

Syntax And Arguments

host_name_store [0 / 1]
0 / 1 Enter 0 to not save hostname. Enter 1 (default) to show hostname in events and GOTV.