The group cohomology of the dihedral groups with coefficients in $\mathbb{Z}$ is given in (the references of) this question:
Group cohomology of dihedral groups
question: How to compute the cohomology groups of the dihedral groups with coefficients in its cyclic subgroup of index $2$ by applying the universal coefficiant theorem to the aforementioned results?