I don't believe there's a way to make online features work in older Pokemon games. Even changing your DNS server will still require you to connect to Nintendo's official WiFi servers which don't work for fourth or fifth gen games anymore.. not sure if anything's changed recently but that's as much as I know. :( You can still trade locally and the like but not online. Feel free to stop by
Quick Trades if you ever want to give your event Dragonite codes away, too.
Big welcome back and I hope you'll have an amazing time on PokeCommunity! Let me know if you have more questions, always down to help out. And this time around you must stick with us longer, yes? :D