Skip to content

maestropanel/zonemng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);                    
                }
            }            
        }
    }
}

About

Microsoft DNS Management Package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages