Log upstream DNS servers when setting it up

pull/1969/head
Jason Rhinelander 2 years ago
parent ab2177bee9
commit c470349fb3
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262

@ -236,6 +236,8 @@ namespace llarp::dns
if (const auto port = dns.getPort(); port != 53)
fmt::format_to(std::back_inserter(str), "@{}", port);
log::info(logcat, "Using upstream dns {}", str);
auto* ctx = m_ctx.get();
if (auto err = ub_ctx_set_fwd(ctx, str.c_str()))
{

Loading…
Cancel
Save