2008 MacBook Air connected to a 2011 iMac from DVI to Thunderbolt?
You should search for a DVI to Mini-Display port, as Mini-Display cables are compatible with Thunderbolt ports. A quick google search turned up this  from the apple store. Be aware that this is a DVI-D adapter, which means it only outputs digital signals.