Skip to content
Microsoft DNS Management Package
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitattributes
.gitignore
LICENSE
README.md

README.md

Microsoft DNS Service Zone Manager

Microsoft DNS Servisi için .NET yönetim paketi. Bu paket ile DNS servisinideki Zone'ları yönetebilir, okuyabilirsiniz.

Kurulum

Install-Package MaestroPanel.MsDnsZoneManager

Gereksinimler

  • .NET Framework 4+
  • Microsoft DNS Service 6+

Kullanım

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);                    
                }
            }            
        }
    }
}
You can’t perform that action at this time.