Template creation question

Multi Site with Multi Domains

I would like to create a feature like the BP list blogs feature. However, I would like to do it on a domain basis. That is, list all subdomains for a domain. No problem writing my own code to either query the db or to use the BP feature and then apply a little logic. But wonder if there is not a built in feature.