On 02/12/2015 21:37, lee wrote: > Hi, > > is there a way to configure bind so that the names of local hosts, > i. e. the ones bind is authoritative for, can be resolved without a > connection to the internet? > > I don't like it at all that when the internet connection goes out, no > name resolution at all is possible. Since the information about the > local hosts is known to bind from its configuration files, why can't it > just resolve them? >
There are several problems with your idea. First, the configured namservers in resolv.conf are caching servers, not authoritative servers. You never configure an auth server to act as a cache. Yes, it can be done. No, it's an awful idea and things break horribly. Secondly, nothing else on your network can know your auth server is authoritative without first being informed so by the delegating server. Or in other words, if you own example.com and an auth server for example.com is on your network, you have to first go via .com to know that. Weird, but that's how it works. DNS was designed to need a network connection because most of the DNS is out there somewhere else What you should do, is run your own caching server on the local network and set the TTL for your own zones to something sane i.e. 1 day (as opposed to the current idiotic fad of making it 10 minutes). The query your cache for your entire zone once a day. Unless your internet connection goes out for more than a day, you're good. -- Alan McKinnon alan.mckin...@gmail.com