Dns.GetHostEntry(host) is timing out on EMX / Cobra

Any ideas why this line:

var hostEntry = Dns.GetHostEntry(host);

is timing out? This just started happening after I upgraded to .Net micro framework 4.2 from 4.1.
Is there anything I need to call on the EMX board before trying to use Dns services?

I just figured it out, needed to add this line:

Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableDhcp();

Cool, then you can unmark this thread as a question :wink: