W5100 how to get DNS Server(DHCP)?

Hello. I wanna use w5100 as DHCP client to make a LAN tester. So, using sketch "DhcpAdressPrinter" I can view an IP (func localIP()), but also I need DNS and mask. Is it possible? And if yes, how can I make this?) Thanks