We have shown that upon infection with whipworms, signalling by IL-10, but not IL-22 or IL-28, is crucial for the resistance to colonization by opportunistic pathogens, control of host inflammation, intestinal barrier maintenance and worm expulsion. This evidence concerns the gene IL22 and infection.