add QUERY command to query local service address