Here, we decipher the distinct functions of two viral DNA sensors, IFI16 and cGAS, during active immune signaling upon infection with two herpesviruses, herpes simplex virus 1 (HSV-1) and human cytomegalovirus (HCMV). This evidence concerns the gene IFI16 and infection.