Production of IL-12, and subsequently IFNγ, upon infection triggers host immunity that prevents early dissemination of pathogenic intracellular pathogens. Here, IFNG is linked to infection.