- Simple DNS Plus
- Knowledge Base
- KB article #30
Developing plug-ins for Simple DNS Plus (v. 5.0 / 5.1)
IMPORTANT: The plug-in interfaces have changed significantly in Simple DNS Plus v. 5.2 (necessary to support new multi-threading and DNS request rule features). If you are considering developing a plug-in for Simple DNS Plus, we recommend that you do this using the new v. 5.2 interfaces -see link above.
The standard Simple DNS Plus installation includes the "sdnsplugin.dll" file (and "sdnsplugin.xml" file to provide Visual Studio intellisense) in the main installation directory.
To create your own plug-in for Simple DNS Plus, you create a .NET 2.0 library (.dll file) that references "sdnsplugin.dll" with a public class that implements the "IGetHostPlugIn", "IGetAnswerPlugIn" or "ISkipPlugIn" interface (in sdnsplugin.dll) and optionally Windows Forms controls inheriting from "OptionsUI" and/or "ViewUI" (also in sdnsplugin.dll). Your library must then be placed in the "plugins" sub-directory of the directory where Simple DNS Plus is installed.
For details see the plug-in library documentation:
On-line version / Download CHM version (180 KB)
Plug-ins can be developed in any .NET 2.0 language including Visual Basic.NET and C#.
To help you get started, we have recorded a series of screen casts demonstrating how to create a simple plug-in using Visual Basic.NET and Visual Studio 2005:
Episode 1: The basics
Episode 2: Adding an Options dialog user interface
Episode 3: Adding a View user interface
UPDATE: In the screencasts above, the plug-in configuration string is formatted as XML.
This is no longer necessary since v. 5.1 build 113. Configuration strings can now be any format you like.
For more information, please see the following knowledge base articles:
Be the first to comment on this page: