MsDNS2012 fix : edit/delete empty name records
This commit is contained in:
parent
3130155c4c
commit
f2564ce514
2 changed files with 12 additions and 4 deletions
|
@ -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 );
|
||||
ps.Remove_DnsServerResourceRecord( zoneName, record.RecordName, rrType, record.RecordData );
|
||||
}
|
||||
catch( Exception ex )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue