Future<String?> lookup(String hostname) async { if (_dnsLookup == null) return null; return await _dnsLookup!(hostname); }