HowTo/ChangeDNSsettingsInWindows

http://www.updatexp.com/dns-windows-xp.html

to request a new IP from a DHCP server, use:

ipconfig /renew

(you might want to ipconfig /release  it first in some cases)

the equivalent to this in Linux would be :

dhclient eth0