Skip to content

Conversation

@emilianocalzada
Copy link

Features

  • Optional MX Lookup Cache: Disabled by default. Enable it by calling emailverifier.NewVerifier().EnableMXCache(1 * time.Hour).
  • Custom TTL: Allows setting a custom Time-To-Live (TTL) for cached MX records.
  • Automatic Cleanup: Runs a background ticker to remove expired cache records automatically.

Benefit

  • Resource Efficiency: Decreases DNS server load by reusing cached MX records.

Feel free to review and let me know if there are any adjustments needed!
close #142

@lryong lryong requested a review from OisCircle January 16, 2025 02:48
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.

feature request: MX Servers lookup cache

1 participant