Don't base your logic on some crappy blue alien furry CGI movie.
I keed.
I keed.
If you're looking at a totally realistic dragon, plane would obviously win. Pew pew, the end.
If you're looking at the gigantic near-invincible, fire-breathing, super-powerful dragon of myth, the dragon would win.