Updates a zone on Simple DNS Plus
Namespace:
JHSoftware.SimpleDNSPlusAssembly: SDNSAPI (in SDNSAPI)
Version: 1.1.0.0 (1.1.0.0)
Syntax
| C# |
|---|
public void UpdateZone( DNSZone zone, bool IncrementSOASerial ) |
| Visual Basic (Declaration) |
|---|
Public Sub UpdateZone ( _ zone As DNSZone, _ IncrementSOASerial As Boolean _ ) |
Parameters
- zone
- Type: JHSoftware.SimpleDNSPlus..::.DNSZone
The DNSZone object representing the zone to update
- IncrementSOASerial
- Type: System..::.Boolean
When True, the zone's SOA-record Serial data field will automatically be incremented. You should always set this to True unless you have already updated the Serial number value directly.
Remarks
WARNING: In between using the UpdateZone method, and later retrieving the same zone using the GetZone method, the order of the records in the zone may change