When trying to associate primary (or alternate) DNS group with non-default routing domain, Edge SWG (ProxySG) returns "% The group "primary" not found" error:
This is expected behavior. Primary and Alternate DNS groups cannot be associated with routing domain other than default. New DNS group must be created and then tied to custom routing domain.