mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
14 lines
325 B
C++
14 lines
325 B
C++
#include "DNSPTRResolverProvider.h"
|
|
#include "CaresPTRResolver.h"
|
|
|
|
namespace DB
|
|
{
|
|
std::shared_ptr<DNSPTRResolver> DNSPTRResolverProvider::get()
|
|
{
|
|
static auto cares_resolver = std::make_shared<CaresPTRResolver>(
|
|
CaresPTRResolver::provider_token {}
|
|
);
|
|
return cares_resolver;
|
|
}
|
|
}
|