The baby isn’t mine?

My ex is 6 months pregnant with what I thought was my baby.

We split when she was 3 months. I admit I haven’t been the best support but we had a big argument yesterday and she told me the baby isn’t mine.

I’m pretty sure it is but what are my options? I’m in Australia if that helps.

Editing - I didn’t speak to her from 3 months pregnant but she recently reached out to me. I told her what I thought of her and I think that hurt her feelings.

She’s also moved house so I don’t know where she lives now.

How can I get a dna test if I don’t know when the baby arrives or where she lives?