Hello @Dolcino
Referrals are not a very easy task to explain, due to the length of their interaction with your domain.
I would recommend the next readings to understand how domain referral works, and with information on how to manage them:
https://learn.microsoft.com/en-us/windows/win32/ad/referrals
https://techcommunity.microsoft.com/t5/azure-active-directory-identity/referral-chasing/ba-p/243177
Hope this provides more information about what you want to achieve,
Best regards,