Skip to content

Misleading wording on profile resolver.defaults.retry #1070

@hannaeko

Description

@hannaeko

As reported on the mailing list, in the profile, retry refers to the total number of tries before the request is considered failed and should probably not include the initial query.

For instance the dig manual states

+tries=T
This option sets the number of times to try UDP and TCP queries to
server to T instead of the default, 3. If T is less than or equal
to zero, the number of tries is silently rounded up to 1.

+retry=T
This option sets the number of times to retry UDP and TCP queries to
server to T instead of the default, 2. Unlike +tries, this does not
include the initial query.

Should we make that distinction in the profile as well? Or at least make it so that retry does not count the initial attempt?

As we pass this parameter to LDNS as is, is this an issue that could better be resolved in Zonemaster::LDNS?

Metadata

Metadata

Assignees

Labels

S-PRforIssueStatus: There is a PR that is meant to resolve the issueT-QuestionType: External question.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions