Fix ListDomains and add basic domain control