-
Notifications
You must be signed in to change notification settings - Fork 56
DnsServerRecursion: New resource proposal #198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe you meant |
The property |
- DnsServerDsc - Added new resource - _DnsServerRecursion_ - resource to enforce recursion settings (issue #198). - ResourceBase - Moved more logic from the resources into the base class for the method `Test()`, `Get()`, and `Set()`. The base class now have three methods `AssertProperties()`, `Modify()`, and `GetCurrentState()` where the two latter ones must be overridden by a resource if calling the base methods `Set()` and `Get()`.
Uh oh!
There was an error while loading. Please reload this page.
Description
Suggest adding a new resource that changes DNS server recursion settings. Using the commands
Get-DnsServerRecursion
andSet-DnsServerRecursion
.Proposed properties
DnsServer
<Key, String> - The host name of the DNS server to change, or use'localhost'
for the current node.AdditionalTimeout
<Write, UInt32> - Specifies the time interval, in seconds, that a DNS server waits as it uses recursion to get resource records from a remote DNS server. We recommend that you limit the value to the range 0x00000000 to 0x0000000F (0 seconds to 15 seconds), inclusive. However, you can use any value. We recommend that you set the default value to 4.Enable
<Write, Boolean> - Specifies whether the server enables recursion.RetryInterval
<Write, UInt32> - Specifies elapsed seconds before a DNS server retries a recursive lookup. If the parameter is undefined or zero, the DNS server retries after three seconds. Valid values are in the range of 1 second to 15 seconds. We recommend that in general, you do not change the value of this parameter. However, under a few circumstances you should consider changing the parameter value. For example, if a DNS server contacts a remote DNS server over a slow link and retries the lookup before it gets a response, you can raise the retry interval to be slightly longer than the observed response time.SecureResponse
<Write, Boolean> - Indicates whether a DNS server screens DNS records against the zone of authority for the remote server, to prevent cache pollution. If you set this to $True, the DNS server caches only those records that are in the zone of authority for the queried remote server. Otherwise, the server caches all records in the remote server cache.Timeout
<Write, UInt32> - Specifies the number of seconds that a DNS server waits before it stops trying to contact a remote server. The valid value is in the range of 0x1 to 0xFFFFFFFF (1 second to 15 seconds). The default setting is 0xF (15 seconds). We recommend that you increase this value when recursion occurs over a slow link.Special considerations or limitations
The default zone
'.'
that is set withSet-DnsServerRecursionScope
is the same scope that is set with this resource. So in a future resourceDnsServerRecursionScope
it should prevent from changing the propertyEnableRecursion
for the default scope ('.'
) and instead refer to use this resource.The parameters
Enable
,RetryInterval
,Timeout
, andSecureResponse
replaces the propertiesNoRecursion
,RecursionRetry
,RecursionTimeout
, andSecureResponse
respectively in the resource xDnsServerSetting, To avoid ping-pong behavior those properties should be removed from the resource xDnsServerSetting once this issue is resolved.The text was updated successfully, but these errors were encountered: