Hi @SQ ,
Welcome to the Microsoft Q&A platform!
Through my tests, in Dynamic Distribution Groups, we don't have such a direct option to restrict members of specific domains from receiving email.
In your case, we recommend that you create a new dynamic distribution group based on a specific domain.
New-DynamicDistributionGroup -name "All Users - Domain Name" -RecipientFilter "(RecipientTypeDetails -eq 'UserMailbox') -and (EmailAddresses -like '*@contoso.com')"
Besides, if you do not want to create a new DDL again, then you can also set up the following rule that users who are in a dynamic distribution group and have a domain of @Company portal .com will not be able to receive email.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.