admin: speed up get_domains for many domains