ZoneSign Method

Signs a zone

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public Zone Sign(
	List<DnsKeyRecord> keys,
	DateTime inception,
	DateTime expiration,
	NSec3HashAlgorithm nsec3Algorithm = ,
	int nsec3Iterations = 10,
	byte[]? nsec3Salt = null,
	bool nsec3OptOut = false,
	bool updateZoneDigests = true
)

Parameters

keys  ListDnsKeyRecord
A list of keys to sign the zone
inception  DateTime
The inception date of the signatures
expiration  DateTime
The expiration date of the signatures
nsec3Algorithm  NSec3HashAlgorithm  (Optional)
The NSEC3 algorithm (or 0 when NSEC should be used)
nsec3Iterations  Int32  (Optional)
The number of iterations when NSEC3 is used
nsec3Salt  Byte  (Optional)
The salt when NSEC3 is used
nsec3OptOut  Boolean  (Optional)
true, of NSEC3 OptOut should be used for delegations without DS record
updateZoneDigests  Boolean  (Optional)
true, if ZONEMD records should be updated while signing

Return Value

Zone
A signed zone

See Also