[sr-dev] git:master:a370c6aa: alias_db: take in consideration use_domain when flags param is not used for lookup