Skip to content

Conversation

@dvloplerz
Copy link

Summary

Fixes #127 — implements retry mechanism for reverse DNS lookups when a timeout occurs.

Changes

  • On DNS timeout (as reported by trust-dns-resolver), we now retry up to 5 times with a exponential delay.

Implementation Details

  • Extracted retry logic into a helper function (retry_with_backoff) used by lookup()

Notes

This is my very first ever open source contribution 😊 Any feedback is very welcome!

Thanks again for maintaining this project 🙏 It's been a joy learning from the codebase!

Sign up for free to 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.

Retry DNS only after timeout

1 participant