MsDNS2012 fix

This commit is contained in:
dev_amdtel 2014-08-18 16:57:44 +04:00
parent 61f6820f98
commit 1fee4f0f85
2 changed files with 52 additions and 8 deletions

View file

@ -172,7 +172,7 @@ namespace WebsitePanel.Providers.DNS
string rrType;
if( !RecordTypes.rrTypeFromRecord.TryGetValue( record.RecordType, out rrType ) )
throw new Exception( "Unknown record type" );
ps.Remove_DnsServerResourceRecord( zoneName, record.RecordName, rrType, record.RecordData );
ps.Remove_DnsServerResourceRecord( zoneName, record);
}
catch( Exception ex )
{