Re: What determines what zones get passed to DLZ?

Evan Hunt <[email protected]> Mon, 5 Nov 2012 16:35:32 +0000
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
> I had a bit of a technical question.  I was wondering what determines
> which zones get passed to the dlz driver.  From simple testing, I have
> seen that any zone with a zone declaration get handled by that
> declaration, as opposed to the dlz driver.  However, does anything else
> just get passed to the dlz driver if it is declared?  Could a zone be
> handled by something else before being handled by dlz?

First it checks to see whether any zone defined with a zone statement
can answer the query, then it tries the cache (if any), then it tries
the DLZ driver.

> I was wondering because when you declare the dlz driver in the
> named.conf, there is no explicit mention of which zone is being handled
> by it, however, only one dlz driver declaration is allowed per DNS view.

No, a DLZ driver can actually contain many zones, and they can appear and
disappear in real time (that's why it's called DLZ -- "dynamically loadable
zones").

Incidentally, in BIND 9.10 (next year), we're changing things so that you
can declare more than one DLZ driver, and you can also have a zone
statement that specifies which DLZ driver the zone will be served from.

-- 
Evan Hunt -- [email protected]
Internet Systems Consortium, Inc.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d