depending on how often this gets called we may want to cache the domain object somehow (though might be better handled more generally by @dmyung's caching stuff and/or embedded in `Domain.get_by_name`)