#pragma once #include #include namespace DB { struct DNSPTRResolver { virtual ~DNSPTRResolver() = default; virtual std::unordered_set resolve(const std::string & ip) = 0; virtual std::unordered_set resolve_v6(const std::string & ip) = 0; }; }