paarthurnaxThis topic came up on the community wall one time, and we arrived at a few possibilities. One was that, in some ancient era, there existed an entrance to Blackreach large enough for a dragon to fly through. The dwemer lured him down and trapped him there.
Or magic. The dwemer had a lot of it at their disposal, and I don't think it'd be beyond their ability to transport a dragon underground.
Writers' license solves everything ^_^
Uh . . .
If I had to guess, I'd imagine that long ago Blackreach/Alftand (and a lot of the other Dwemer ruins, for that matter) was a lot bigger, considering the size of the machinery and stuff. Some sort of massive hallway that is now completely encased in glacier, or something. Heck, maybe if all the gates and pillars and stuff were cleared out you could even fit a juvenile dragon down one of the litfs, either through negotiation or a trap.
Or, who knows, maybe you could just use an Elder Scroll as a portal the same way you can use one as a time machine. Maybe the Dragon scroll has a twin that manipulates space instead of time? Dialga and Palkia