DNA TESTING WHILE PREGNANT

So can my obgyn do a dna test while I’m pregnant? Me and my partner just recently got back together and he just wants to be sure it’s his baby since we both where seeing people before getting back together.

Also will my insurance cover the cost.