01 July 2005

Example of usage:


DnsCmd dnsCmd = new DnsCmd("my.dns.server");

dnsCmd.CreatePrimaryZone("zone.ademar.name");
dnsCmd.CreateRecord("zone.ademar.name",
    new SOARecord("@","ns1.isqsolutions.com",
DateTime.Today.ToString("yyyyMMdd") + "00",
    "admin.ademar.name",3600,600,1209600,172800));
dnsCmd.CreateRecord("zone.ademar.name",
    new ARecord("comfort","127.0.0.1"));

MXRecord mx = new MXRecord("@",10,"ma.isqsolutions.com.");
dnsCmd.CreateRecord("zone.ademar.name",mx);

Here is the link to the class implementation : DnsCmd.cs



blog comments powered by Disqus

about