ClickHouse/src/Common/DNSPTRResolverProvider.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
272 B
C++
Raw Normal View History

#include "DNSPTRResolverProvider.h"
#include "CaresPTRResolver.h"
namespace DB
{
std::shared_ptr<DNSPTRResolver> DNSPTRResolverProvider::get()
{
2022-08-11 16:28:07 +00:00
return std::make_shared<CaresPTRResolver>(
CaresPTRResolver::provider_token {}
);
}
}