Skip to content

fix: correct off-by-one counting for dns record lookups. - #11

Open
chrj wants to merge 1 commit into
albertito:masterfrom
chrj:chrj/fix-dns-lookup-limit-off-by-one
Open

fix: correct off-by-one counting for dns record lookups.#11
chrj wants to merge 1 commit into
albertito:masterfrom
chrj:chrj/fix-dns-lookup-limit-off-by-one

Conversation

@chrj

@chrjchrj commented Aug 9, 2026

Copy link
Copy Markdown

The limit check before each DNS record lookup was off-by-one and should've been comparing with >= rather than just>.

This PR lifts the limit check into its own helper function.

Also adds a unit test to cover.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@chrj