Randomly initialize DOF position

Hello,
I have some question about domain randomization.
I want to make the robot’s DOF random to have various poses in the process of Isaac gym environment being reset for the first time.
I hope the robot’s body doesn’t float or penetrate the ground.
I would like to ask if there is a way to ensure that my robot is on the ground in such a process.

Thank you