When the Apollo 11 astronauts returned to US territory they famously went through US Customs where they listed "moon" as part of their flight routing:
Was that a one-off?
What are procedures today? For places that require passport exit controls such as Europe and Russia do astronauts have to go through passport control before launch, too?