X25519 does not use DH parameters.
If you don’t set the parameters with a callback, or generate them and tell openssl to use them, then EDH will not be used. Not that EDH is *not* the same as ECDHE.
Don’t use DH, use X25519, for a number of reasons. Search “25519” to find more.