pass default domain_id is queries