Test Mode
When writing tests, you may want to skip DNS checks to avoid external requests. Enable test mode to skip all DNS validations (MX and A record checks).
Enabling Test Mode
In spec_helper.rb or test_helper.rb
In a before block
Behavior
When test mode is enabled, domain validation will always return true without making any DNS requests, allowing you to use dummy email addresses in your tests without external dependencies.