A simple rule:
Countries have borders.
Boundary is for other separations between geographical areas.
The only "frontier" this American would talk about would be historical between settled land and the untamed wilderness. Or metaphorical use, like "the frontiers of medicine" with the same idea of moving into uncharted territory.
Student or Learner