Domestic flight may be if departure and arrival in single no border control zone like Schengen zone or Russia-Belarus. And there is no domestic flight if there is a stop on another country even travels domestically. But on railway it may keep domestic route (in some cases differs on ticket stations)