DNSmasq can be used to cache DNS calls and as a DHCP server to provide internal IP addresses and routes to computers on a LAN.