Set DNS Scavenging
Sets the scavenging interval on the configured DNS server, enables scavenging and starts scavenging.
Privileges
Elevated - run as administrator.
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
DNS Server Name | String | Yes | The DNS name of the DNS server. |
Scavenging Interval | Number | No | The hours between each scavenging attempt. |
Enable Scavenging | Boolean | Yes | Enables scavenging for the configured DNS server. |
Start Scavenging | Boolean | Yes | Starts scavenging for the configured DNS server. |
Output Parameters
Name | Type | Description |
---|---|---|
Result | Number |
Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Scavenging Interval (Hours) | Number | Yes | 24 |
Default No Refresh Interval (Hours) | Number | No | 12 |
Default Refresh Interval (Hours) | Number | No | 12 |
Enable Scavenging | Boolean | No | Optionally enable DNS Scavenging |
Start Scavenging | Boolean | Optionally scavenge old records now |