View Single Post
Old 11-13-2008, 11:21 AM   #70
RoninTech
Groupie
RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.
 
RoninTech's Avatar
 
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
Quote:
Originally Posted by pilotbob View Post
Both of my routers provide a DHCP server. But, neither of them actually contain a DNS server. What router do you have that is also a DNS server?

BOb
Hey Bob,

There's DNS server's and then there's DNS servers.

Have a read up on dns caching and dnsmasq. The way it works is that your off the shelf router keeps track of DNS queries it has made and keeps them in a local DNS cache. Whenever it doles out a an IP address and hostname to a machine on the LAN its managing via DHCP it adds an ip/hostname entry to its DNS cache. If you look on the machine that received the IP address and do an ipconfig /all (on windows at least) you'll see that the DNS server address matches the DHCP server address which is your off the shelf router/AP/firewall's IP. What happens is that your PC will query the local "DNS server", the router/AP/firewall just queries its local cache and responds if it gets a hit otherwise it forwards the query to your ISP's full blown dns server.

Hope that helps.
RoninTech is offline   Reply With Quote