fix MsDns2012 NS record bug
This commit is contained in:
parent
9fc94fbcb9
commit
323e6d7ad6
2 changed files with 25 additions and 1 deletions
|
@ -98,12 +98,18 @@ namespace WebsitePanel.Providers.DNS
|
|||
public virtual void AddPrimaryZone( string zoneName, string[] secondaryServers )
|
||||
{
|
||||
ps.Add_DnsServerPrimaryZone( zoneName, secondaryServers );
|
||||
|
||||
// remove ns records
|
||||
ps.Remove_DnsServerResourceRecords(zoneName, "NS");
|
||||
}
|
||||
|
||||
public virtual void AddSecondaryZone( string zoneName, string[] masterServers )
|
||||
{
|
||||
ps.Add_DnsServerSecondaryZone( zoneName, masterServers );
|
||||
}
|
||||
|
||||
// remove ns records
|
||||
ps.Remove_DnsServerResourceRecords(zoneName, "NS");
|
||||
}
|
||||
|
||||
public virtual void DeleteZone( string zoneName )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue