extended for domain queries