Matching domain name, group id and package names