Is there a way to restrict registration to a specific email domain using the Membership plugin?

Is there a way to restrict registration to a specific email domain using the Membership plugin? I have tried adding a whitelist/blacklist plugin, but Membership still allowed registration. I would ideally want an ajax-type response to catch any excluded email domains as soon as a new member typed in their email address.

This is for a single install of BuddyPress - not multisite. Thanks!