I've just finished successfully configuring BIND to act as a caching server, and I'm pulling information directly from the 13 root servers (as a hint file) instead of using forwarders from someone else's DNS servers.
My named.conf file includes the following:
options {
listen-on port 53 { 127.0.0.1; 10/8; };
allow-query { localhost; 127.0.0.1; 10/8; };
{snip}
}
zone "." IN {
type hint;
file "named.ca";
};
Not ready to deploy it out to the general public yet, I started BIND thinking I would just point my own computer's network adapter to use this as the new DNS server. I tested it to make sure it worked, and then gave the IP address to a few tech-savvy colleagues to start using it as well so that I can monitor this new working server over the next day or two.
But the thing that really confuses me is this: I've been running dnstop for the last 10 minutes, and I see that we have at least 18 devices talking to the server, and over 2,000 queries have already been made by several devices that were not told about the new DNS server.
Obviously I told it to listen within our entire 10/8 network. But I thought we would need to configure our routers (done by our network engineer, not me) to get everyone talking to this new DNS server.
Is there something blatent that I'm misunderstanding about how DNS works and how devices make DNS queries? My observations indicate to me that this new BIND server is "broadcasting" itself out so that several - if not all - devices across the network are aware of it.