Next: DNS/TCP Support
Up: The Redirector as an
Previous: DNS Protocol Implementation
  Contents
Configuration routines include all redirector-related configuration hook
functions and the Apache-specific data structures describing the module.
The most important directives have been discussed above in
Section 3.2 and for this reason
are not repeated here. What is worth mentioning, however, is that one of
the general configuration hooks, called ``post_config,'' is used. It is
the best place to create all internal data structures of the
redirector, since at this point the complete redirector configuration
is known, and Apache has not yet started processing the client requests.
Therefore, in the ``post_config'' hook function we initialize the replica
database and create a special lock protecting the UDP socket (see below).
root
2002-08-27