DNA viruses face a different problem: their genome is DNA, but they must still produce mRNA that host ribosomes can translate. Most DNA viruses replicate in the nucleus because that is where the host's DNA replication and transcription machinery is located. They can use host DNA polymerase and host RNA polymerase, though many also encode their own polymerase or accessory factors to control the process. Nuclear replication allows the virus to take advantage of host enzymes for DNA synthesis and RNA transcription, and it also allows splicing of viral transcripts.
A smaller group of DNA viruses, notably poxviruses, replicate entirely in the cytoplasm. Because the host DNA replication machinery is in the nucleus, these viruses must carry or encode their own DNA polymerase and transcription factors. They also need to solve the problem of synthesizing mRNA in the cytoplasm, which they do by packaging a DNA-dependent RNA polymerase in the virion. The key contrast is that nuclear DNA viruses rely heavily on host machinery, while cytoplasmic DNA viruses are more self-sufficient. This difference affects how the virus interacts with the cell cycle and how it responds to inhibitors of host DNA replication.