Co-authored-by: Fred Morcos <fm@fredmorcos.com>
handleRuntimeDefaults(startupLog);
if (auto ttl = ::arg().asNum("system-resolver-ttl"); ttl != 0) {
- // Cannot use SyncRes::s_serverID, it is nt set yet
+ // Cannot use SyncRes::s_serverID, it is not set yet
pdns::RecResolve::setInstanceParameters(arg()["server-id"], ttl, []() { reloadZoneConfiguration(g_yamlSettings); });
}
}
} // anonymous namespace
+// RecResolve class members.
std::string pdns::RecResolve::s_serverID;
time_t pdns::RecResolve::s_ttl{0};
std::function<void()> pdns::RecResolve::s_callback;
serde_yaml = "0.9"
ipnet = "2.8"
once_cell = "1.18.0"
-hostname-validator = "1.1.1" # This is temporary. PR 13819 has the infra to call C++ from, so we can arrange for DNSName::ishostname() to be called instead of importing another crate aftyer that one is merged.
+hostname-validator = "1.1.1" # This is temporary. PR 13819 has the infra to call C++ from, so we can arrange for DNSName::ishostname() to be called instead of importing another crate after that one is merged.
[build-dependencies]
cxx-build = "1.0"