Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
maestropanel2 committed Mar 21, 2016
1 parent 45e307f commit 4cc1419
Showing 1 changed file with 40 additions and 2 deletions.
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
# zonemng
Microsoft DNS Management Package
zonemng
-------
You can manage Microsoft DNS Services Zones with this .NET package. Currently just reads Zones and Zone records.

Install
-----
* Download Assembly from
* Reference assembly file to projects

Requirements
------------
* .NET Framework 4+

Usage
-----

```csharp
namespace usage
{
using MaestroPanel.MsDnsZoneManager;

class Program
{
static void Main(string[] args)
{
var dns = new ZoneManage();

foreach (var item in dns.GetAllZones())
{
System.Console.WriteLine(item.Name);

foreach (var r in item.Records)
{
System.Console.WriteLine("\t{0}\t{1}\t{2}\t{3}", r.RecordType, r.Name, r.Data, r.Priority);
}
}
}
}
}
```

0 comments on commit 4cc1419

Please sign in to comment.