I should add that some embedded router implementations do allow you to configure the DNS server on it to resolve local names. Certainly it is possible with homemade routers using dnsmasq, e.g. IPCop. Whether dnsmasq is used and whether this functionality is exposed via the web interface, depends. Some hardcore hardware hackers flash alternate firewall implementations like dd-wrt or openwrt onto routers.