An innate immune defense mechanism based on the recognition of CpG motifs in microbial DNA.