Paul Vixie wrote:
Given (for example) PostGreSQL, is there any reason why someone hasn't ported the algorithms of BIND on top of something like it? It seems to me that it ought to be possible to keep a nameserver running whilst one is doing maintenance on it...
the line of people who have asked for this would stretch out the door and into the street. bind runs from memory rather than from disk, because it has to be able to answer at wire speed for large values of "wire". we're working on a hierarchical storage system, basically a memory cache with LRU, backed by a database. we're also working on a way to load from sql databases into memory rather than always having to load from disk. it's likely that the second of those two projects will be complete a year or so before the first :-).
How about simply using libdb.a from SleepyCat Software? It does all cacheing and can be used with threads. And it also makes dynamic updates a breeze. SQL (or any other kind of relational database for that matter) is clearly an overkill. --vadim