Determine the server that sent a query
The DMV sys.dm_exec_sessions has column host_name which is the computer at the client end of the connection.  You can join that to your posted query through the session_id.