Should I respond to 1 NT in a suit or NT holding 17 HCP and a void?
I would bid 4C (Gerber) to ask about aces. If partner has 3, bid 7D. If partner has only 2, bid 6D.

The weak point in this hand is if partner has, say, the KJ in spades; some other responder might have a fancier convention to pick out the specific high cards.