Hi,
Is this correct with the present perfect when using the first word "did"?
Did you know people have traveled to the moon.
It seems OK to me.
Compare the tenses in Did you know that the sun rises in the east? The subordinate clause is a general statement of fact.
Best wishes, Clive