Check TCP/IP Properties. You'll have to translate this to how Win 7 does it but the principle applies:
Start, Connect To, Connection, Properties, Scroll Down TCP/IP and highlight, click Properties and check that Obtain DNS and IP address automatically are enabled.