IPCONFIG will show the IP address and subnet mask but will not show the DNS server address. IPCONFIG /ALL will show the DNS address in addition to the IP and subnet mask.
Wikipedia
ipconfig (standing for "Internet Protocol configuration") is a console application program of some computer operating systems that displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.