Modules
Modules can be used to add functionality to Posadis: they can do various tasks such as monitoring zone files (the monitor module), or adding new zone types (e.g. the revmap module). The main Posadis program already has most important functionality implemented, but modules are avaible for less common tasks.
Modules should be installed in the module directory indicated wth the libdir
setting of the Posadisrc. After such libdir
statements, modules can be loaded with the LoadModule
setting, e.g.
LoadModule monitor
The setting is the base name; the OS-specific file name of the library (such as monitor.dll
for Windows or monitor.so
for Unix), should be found automatically).
After a module has been loaded (and only after that – Posadis runs through the configuration file in order so you cannot use configuration options from a module before its corresponding LoadModule
command), any configuration options or zone types it defines can be used.
A list of modules shipped with Posadis by default is in the index.
Developing modules
There is no documentation currently available about developing modules; for now, you can look at some of the example modules shipped with Posadis.