It is true that when using a donor egg, the baby will inherit DNA from the egg donor and the sperm and not the recipient mother, but heritability is more complicated than that. For DNA to function it has to receive instructions, just like computer hardware has to receive instructions from the software program.