The legal father of a child does not need consent from the mother to perform a DNA test on their child. But consent would need to be obtained to use the mother's DNA sample if it is required.