patches to enable public api to list all doms