Add missing import to validators.
Fix for flaky DNS-related tests.