In infection models, the IL-23‒IL-22 axis has been shown to exert protective effects on various enteric pathogens. This evidence concerns the gene IL22 and infection.