TRIM21 and infection: We demonstrate that TRIM21 enables the RNA sensor RIG-I to detect infection by an incoming RNA virus and the DNA sensor cGAS to detect infection by a DNA virus.