Skip to content

Conversation

@Kovah
Copy link
Contributor

@Kovah Kovah commented Apr 8, 2025

This PR adds two new properties with their corresponding getters and setters:

  • timeout
  • retries

Both are used within the Dig handler. This enables the user to make the queries more resistant to network / connectivity issues. The defaults (2 retries with a timeout of 2 seconds) remain the same.
Tests were added according to the existing ones for setting a nameserver.

@freekmurze
Copy link
Member

Very nice, thanks!

@freekmurze freekmurze merged commit 85c73a8 into spatie:main Apr 10, 2025
6 checks passed
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.

2 participants