It was not his kid, but the DNA that they took when the baby was born that they used to trigger the machine.
Something is going to happen to Dunnam from the other side, and he will learn about his child, maybe she will get that last bit of information after passing along a plan that helps to save both sides, Peter will then go get the baby, and him and our Dunnam live happily ever after