.. function:: getConfigDirAndName() -> str, str
- .. versionadded:: 5.2.4
+ .. versionadded:: 5.2.x
Get the configuration directory and the instance name.
These two values correspond to the :ref:`setting-yaml-recursor.config_dir` and :ref:`setting-yaml-recursor.config_name` settings.
auto data = message.get_bytes();
memcpy(&subnet, data.data(), data.size());
}
-
required_uint32_clen = 7,
};
-
template <typename T, typename U>
void MemRecursorCache::getRecordSet(T& message, U recordSet)
{
BOOST_CHECK_EQUAL(nsCounts[ComboAddress("192.0.2.2:53")], 1U);
BOOST_CHECK_EQUAL(nsCounts[ComboAddress("[2001:DB8::2]:53")], 1U);
-
// read PB representation back and forth, compare using the text dump
std::string temp1{"/tmp/speedDump1XXXXXX"};
std::string temp2{"/tmp/speedDump2XXXXXX"};
BOOST_CHECK(lines1 == lines2);
}
-
BOOST_AUTO_TEST_CASE(test_flawed_nsset)
{
std::unique_ptr<SyncRes> sr;