How to integrate with other applications |
Simple DNS Plus v. 5.0 Copyright © 1999-2008 JH Software ApS |
You can generate zone and record data for Simple DNS Plus from other applications.
DNS record data is stored in standard "zone files" (simple text files), located in the directory specified in the Options dialog / DNS / Data files section.
To examine the file layout, you can open the files generated by Simple DNS Plus with notepad (see RFC1035 for exact specifications).
Each zone has its own zone file - by default named "<zone-name>.dns" (ie: "example.com.dns").
The same directory contains the zone database file "_zones.sdzdb" which controls which zones are loaded by Simple DNS Plus and hold various status information about the zones.
The zone database can be examined using the "ZoneDBViewer.exe" application found in the directory where Simple DNS Plus is installed.
If programming with .NET, you can also read the zone database using the "SDNSFileLib.dll" library found in the "Tools" folder.
There are several options for making Simple DNS Plus load new or updated zone files "on the fly":
Command line
You can tell Simple DNS Plus to reload one or all zone files by using one of the command line options.
HTTP API
Simple DNS Plus can be prompted to perform a number of function through HTTP - either directly from a browser, or any other program that can communicate through HTTP.
See How to use HTTP API.
API for .NET and COM
The "Simple DNS Plus API for .NET and COM" is a code library which greatly simplifies and streamlines interacting with and updating data in Simple DNS Plus. It makes it possible to deal with DNS data as simple objects and eliminates the need to work with and understand the intricacies of DNS master files (a.k.a. zone files).
This can be done from any .NET or COM based application or dynamic web-site including ASP.NET, classic ASP, PHP, VB.NET, C#, Delpi, VBScript, JScript, etc.
It can be used on a separate computer (controlling Simple DNS Plus remotely), and is therefore available as a separate download.
See http://www.simpledns.com/addons.aspx