Refactored DNSBL lookup to its own function