LOG_DEBUG(dctl_logger, DBGLVL_START_SHUT, DCTL_CCSESSION_STARTING)
.arg(getAppName()).arg(getSpecFileName());
- // Create the BIND10 command control session with the our IOService.
+ // Create the Bundy command control session with the our IOService.
cc_session_ = SessionPtr(new isc::cc::Session(
getIOService()->get_io_service()));
- // Create the BIND10 config session with the stub configuration handler.
+ // Create the Bundy config session with the stub configuration handler.
// This handler is internally invoked by the constructor and on success
// the constructor updates the current session with the configuration that
// had been committed in the previous session. If we do not install
LOG_DEBUG(dctl_logger, DBGLVL_START_SHUT, DCTL_CCSESSION_ENDING)
.arg(getAppName());
- // Destroy the BIND10 config session.
+ // Destroy the Bundy config session.
if (config_session_) {
config_session_.reset();
}
- // Destroy the BIND10 command and control session.
+ // Destroy the Bundy command and control session.
if (cc_session_) {
cc_session_->disconnect();
cc_session_.reset();
/// in their main function. Such logger uses environmental variables to
/// control severity, verbosity etc. Reinitialization of logger by this
/// function would replace unit tests specific logger configuration with
- /// this suitable for D2 running as a bind10 module.
+ /// this suitable for D2 running as a Bundy module.
///
/// @param argc is the number of command line arguments supplied
/// @param argv is the array of string (char *) command line arguments
/// that the application can carry out DNS update exchanges with it. Servers
/// are represented by the class, DnsServerInfo.
///
-/// The configuration specification for use with BIND10 is detailed in the file
+/// The configuration specification for use with Kea is detailed in the file
/// dhcp-ddns.spec.
///
/// The parsing class hierarchy reflects this same scheme. Working top down:
A debug message indicating that the controller has received an
updated configuration from the Kea configuration system.
-% DCTL_DISCONNECT_FAIL %1 controller failed to end session with Kea: %2
+% DCTL_DISCONNECT_FAIL %1 controller failed to end session with Bundy: %2
This message indicates that while shutting down, the DHCP-DDNS controller
encountered an error terminating communication with the Kea configuration
system. The service will still exit. While theoretically possible,
if (rcode) {
// Non-zero means we got an invalid configuration, take no further
// action. In integrated mode, this will send a failed response back
- // to BIND10.
+ // to the configuration backend.
reconf_queue_flag_ = false;
return (answer);
}
using namespace std;
/// This file contains entry point (main() function) for standard DHCP-DDNS
-/// process, kea-dhcp-ddns, component for BIND10 framework. It fetches
+/// process, kea-dhcp-ddns, component of Kea software suite. It fetches
/// the D2Controller singleton instance and invokes its launch method.
/// The exit value of the program will be EXIT_SUCCESS if there were no
/// errors, EXIT_FAILURE otherwise.
/// @brief Tests launch with a session establishment failure.
/// This test launches with a valid command line for integrated mode and no.
-/// Attempting to connect to BIND10 should fail, even if BIND10 is running
-/// UNLESS the test is run as root. Launch should throw SessionStartError.
+/// Attempting to connect to Bundy should fail, even if Bundy is running
+/// UNLESS the test is run as root. Launch should throw SessionStartError.
TEST_F(BundyD2ControllerTest, launchSessionFailure) {
// Command line to run integrated
char* argv[] = { (char*)"progName" };
};
/// @brief Tests that the spec file is valid.
-/// Verifies that the BIND10 DHCP-DDNS configuration specification file
+/// Verifies that the DHCP-DDNS configuration specification file
// is valid.
TEST(D2SpecTest, basicSpec) {
ASSERT_NO_THROW(isc::config::
/// without polluting production derivations (e.g. D2Process). It uses
/// DStubProcess as its application process class. It is a full enough
/// implementation to support running both stand alone and integrated.
-/// Obviously BIND10 connectivity is not available under unit tests, so
-/// testing here is limited to "failures" to communicate with BIND10.
+/// Obviously Bundy connectivity is not available under unit tests, so
+/// testing here is limited to "failures" to communicate with Bundy.
class DStubController : public DControllerBase {
public:
/// @brief Static singleton instance method. This method returns the
using namespace std;
/// This file contains entry point (main() function) for standard DHCPv4 server
-/// component for BIND10 framework. It parses command-line arguments and
+/// component for Kea software suite. It parses command-line arguments and
/// instantiates ControlledDhcpv4Srv class that is responsible for establishing
/// connection with msgq (receiving commands and configuration) and also
/// creating Dhcpv4 server object as well.
// Framework functions
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
int
}
/// @brief Tests that the spec file is valid.
-/// Verifies that the BIND10 DHCP-DDNS configuration specification file
-// is valid.
+/// Verifies that the Kea DHCPv4 configuration specification file is valid.
TEST(Dhcp4SpecTest, basicSpec) {
(isc::config::moduleSpecFromFile(specfile("dhcp4.spec")));
ASSERT_NO_THROW(isc::config::moduleSpecFromFile(specfile("dhcp4.spec")));
///
/// @todo: Unfortunately, we have this test disabled, because all loaded
/// configs use memfile, which attempts to create lease file in
-/// /usr/local/var/bind10/kea-leases4.csv. We have couple options here:
+/// /usr/local/var/kea/kea-leases4.csv. We have couple options here:
/// a) disable persistence in example configs - a very bad thing to do
/// as users will forget to reenable it and then will be surprised when their
/// leases disappear
using namespace std;
/// This file contains entry point (main() function) for standard DHCPv6 server
-/// component for BIND10 framework. It parses command-line arguments and
+/// component for Kea software suite. It parses command-line arguments and
/// instantiates ControlledDhcpv6Srv class that is responsible for establishing
/// connection with msgq (receiving commands and configuration) and also
/// creating Dhcpv6 server object as well.
ControlledDhcpv6Srv server(port_number);
try {
- // Initialize the server, i.e. establish control session
- // if BIND10 backend is used or read a configuration file
+ // Initialize the server, e.g. establish control session
+ // if Bundy backend is used or read a configuration file
// if Kea backend is used.
server.init(config_file);
} catch (const std::exception& ex) {
LOG_ERROR(dhcp6_logger, DHCP6_INIT_FAIL).arg(ex.what());
- // We should not continue if were told to configure (either read
- // config file or establish BIND10 control session).
+ // We should not continue, just flush whatever has been logged
+ // and exit.
isc::log::LoggerManager log_manager;
log_manager.process();
// Framework functions
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
int
/// @brief Version function required by Hooks API for compatibility checks.
int version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
}
const char* const server_port_str = "5553";
//message client send to udp server, which isn't dns package
//just for simple testing
-const char* const query_message = "BIND10 is awesome";
+const char* const query_message = "Kea is awesome";
// \brief provide capacity to derived class the ability
// to stop DNSServer at certain point
this->tcp_client_->setSendDataDelay(1);
this->testStopServerByStopper(*this->tcp_server_, this->tcp_client_,
this->tcp_client_);
- EXPECT_EQ("BIND10 is awesome", this->tcp_client_->getReceivedData());
+ EXPECT_EQ("Kea is awesome", this->tcp_client_->getReceivedData());
EXPECT_TRUE(this->serverStopSucceed());
}
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
-#ifndef BIND10_COMMON_DEFS_H
-#define BIND10_COMMON_DEFS_H
+#ifndef KEA_COMMON_DEFS_H
+#define KEA_COMMON_DEFS_H
// \file proto_defs.h
// \brief Common shared constants
void
Session::establish(const char* socket_file) {
if (socket_file == NULL) {
- socket_file = getenv("BIND10_MSGQ_SOCKET_FILE");
+ socket_file = getenv("BUNDY_MSGQ_SOCKET_FILE");
}
if (socket_file == NULL) {
- socket_file = BIND10_MSGQ_SOCKET_FILE;
+ socket_file = BUNDY_MSGQ_SOCKET_FILE;
}
impl_->establish(*socket_file);
-#define BIND10_MSGQ_SOCKET_FILE "@@LOCALSTATEDIR@@/@PACKAGE@/msgq_socket"
+#define BUNDY_MSGQ_SOCKET_FILE "@@LOCALSTATEDIR@@/@PACKAGE@/msgq_socket"
~TestDomainSocket() {
socket_.close();
- unlink(BIND10_TEST_SOCKET_FILE);
+ unlink(BUNDY_TEST_SOCKET_FILE);
}
void acceptHandler(const asio::error_code&) const {
SessionTest() : sess(my_io_service), work(my_io_service) {
// The TestDomainSocket is held as a 'new'-ed pointer,
// so we can call unlink() first.
- unlink(BIND10_TEST_SOCKET_FILE);
- tds = new TestDomainSocket(my_io_service, BIND10_TEST_SOCKET_FILE);
+ unlink(BUNDY_TEST_SOCKET_FILE);
+ tds = new TestDomainSocket(my_io_service, BUNDY_TEST_SOCKET_FILE);
}
~SessionTest() {
sess.setTimeout(100);
EXPECT_EQ(100, sess.getTimeout());
// no answer, should timeout
- EXPECT_THROW(sess.establish(BIND10_TEST_SOCKET_FILE), SessionTimeout);
+ EXPECT_THROW(sess.establish(BUNDY_TEST_SOCKET_FILE), SessionTimeout);
}
TEST_F(SessionTest, connect_ok) {
tds->setSendLname();
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
}
TEST_F(SessionTest, connect_ok_no_timeout) {
tds->setSendLname();
sess.setTimeout(0);
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
}
TEST_F(SessionTest, connect_ok_connection_reset) {
tds->setSendLname();
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
// Close the session again, so the next recv() should throw
sess.disconnect();
TEST_F(SessionTest, run_with_handler) {
tds->setSendLname();
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
sess.startRead(boost::bind(&SessionTest::someHandler, this));
isc::data::ElementPtr env = isc::data::Element::fromJSON("{ \"to\": \"me\" }");
TEST_F(SessionTest, run_with_handler_timeout) {
tds->setSendLname();
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
sess.startRead(boost::bind(&SessionTest::someHandler, this));
sess.setTimeout(100);
TEST_F(SessionTest, get_socket_descr) {
tds->setSendLname();
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
int socket = 0;
// session is established, so getSocketDesc() should work
TEST_F(SessionTest, group_sendmsg) {
// Connect (to set the lname, so we can see it sets the from)
tds->setSendLname();
- sess.establish(BIND10_TEST_SOCKET_FILE);
+ sess.establish(BUNDY_TEST_SOCKET_FILE);
// Eat the "get_lname" message, so it doesn't confuse the
// test below.
sess.getSentMessage();
-#define BIND10_TEST_SOCKET_FILE "@builddir@/test_socket.sock"
+#define BUNDY_TEST_SOCKET_FILE "@builddir@/test_socket.sock"
// @todo: This part of the test is currently disabled on all BSD systems as it was
// the quick fix. We need a more elegant (config-based) solution to disable
// this check on affected systems only. The ticket has been submited for this
-// work: http://bind10.isc.org/ticket/2971
+// work: http://kea.isc.org/ticket/2971
#ifndef OS_BSD
EXPECT_THROW(ifacemgr->receive4(10), SocketReadError);
#endif
/// This code is based on similar code from the Dibbler project. I, Tomasz Mrugalski,
/// as a sole creator of that code hereby release it under BSD license for the benefit
-/// of the BIND10 project.
+/// of the Kea project.
/// @brief returns a first address in a given prefix
///
///
/// @todo This class doesn't validate the lease values read from the file.
/// The @c Lease4 is a structure that should be itself responsible for this
-/// validation (see http://bind10.isc.org/ticket/2405). However, when #2405
+/// validation (see http://kea.isc.org/ticket/2405). However, when #2405
/// is implemented, the @c next function may need to be updated to use the
/// validation capablity of @c Lease4.
class CSVLeaseFile4 : public isc::util::CSVFile {
///
/// @todo Make sure that the values read from the file are correct.
/// The appropriate @c Lease4 validation mechanism should be used once
- /// ticket http://bind10.isc.org/ticket/2405 is implemented.
+ /// ticket http://kea.isc.org/ticket/2405 is implemented.
bool next(Lease4Ptr& lease);
private:
///
/// @todo This class doesn't validate the lease values read from the file.
/// The @c Lease6 is a structure that should be itself responsible for this
-/// validation (see http://bind10.isc.org/ticket/2405). However, when #2405
+/// validation (see http://kea.isc.org/ticket/2405). However, when #2405
/// is implemented, the @c next function may need to be updated to use the
/// validation capablity of @c Lease6.
class CSVLeaseFile6 : public isc::util::CSVFile {
///
/// @todo Make sure that the values read from the file are correct.
/// The appropriate @c Lease6 validation mechanism should be used once
- /// ticket http://bind10.isc.org/ticket/2405 is implemented.
+ /// ticket http://kea.isc.org/ticket/2405 is implemented.
bool next(Lease6Ptr& lease);
private:
/// parameter in the database access string. The [path] is the
/// absolute path to the file (including file name). If this parameter
/// is not specified, the default location in the installation
-/// directory is used: var/bind10/kea-leases4.csv and
-/// var/bind10/kea-leases6.csv.
+/// directory is used: var/kea/kea-leases4.csv and
+/// var/kea/kea-leases6.csv.
class Memfile_LeaseMgr : public LeaseMgr {
public:
// Framework functions
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
};
/// lease type, invalid preferred lifetime vs valid lifetime etc. The Lease6
/// should be extended with the function that validates lease attributes. Once
/// this is implemented we should provide more tests for malformed leases
-/// in the CSV file. See http://bind10.isc.org/ticket/2405.
+/// in the CSV file. See http://kea.isc.org/ticket/2405.
} // end of anonymous namespace
/// lease type, invalid preferred lifetime vs valid lifetime etc. The Lease6
/// should be extended with the function that validates lease attributes. Once
/// this is implemented we should provide more tests for malformed leases
-/// in the CSV file. See http://bind10.isc.org/ticket/2405.
+/// in the CSV file. See http://kea.isc.org/ticket/2405.
} // end of anonymous namespace
TEST_F(DbAccessParserTest, persistV4Memfile) {
const char* config[] = {"type", "memfile",
"persist", "true",
- "name", "/opt/bind10/var/kea-leases4.csv",
+ "name", "/opt/kea/var/kea-leases4.csv",
NULL};
string json_config = toJson(config);
TEST_F(DbAccessParserTest, persistV6Memfile) {
const char* config[] = {"type", "memfile",
"persist", "true",
- "name", "/opt/bind10/var/kea-leases6.csv",
+ "name", "/opt/kea/var/kea-leases6.csv",
NULL};
string json_config = toJson(config);
namespace {
// Version 1 of the hooks framework.
-const int BIND10_HOOKS_VERSION = 1;
+const int KEA_HOOKS_VERSION = 1;
// Names of the framework functions.
const char* const LOAD_FUNCTION_NAME = "load";
// Get the pointer to the "version" function.
PointerConverter pc(dlsym(dl_handle_, VERSION_FUNCTION_NAME));
if (pc.versionPtr() != NULL) {
- int version = BIND10_HOOKS_VERSION - 1; // This is an invalid value
+ int version = KEA_HOOKS_VERSION - 1; // This is an invalid value
try {
version = (*pc.versionPtr())();
} catch (...) {
return (false);
}
- if (version == BIND10_HOOKS_VERSION) {
+ if (version == KEA_HOOKS_VERSION) {
// All OK, version checks out
LOG_DEBUG(hooks_logger, HOOKS_DBG_CALLS, HOOKS_LIBRARY_VERSION)
.arg(library_name_).arg(version);
} else {
LOG_ERROR(hooks_logger, HOOKS_INCORRECT_VERSION).arg(library_name_)
- .arg(version).arg(BIND10_HOOKS_VERSION);
+ .arg(version).arg(KEA_HOOKS_VERSION);
}
} else {
LOG_ERROR(hooks_logger, HOOKS_NO_VERSION).arg(library_name_);
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
// load() initializes the user library if the main image was statically linked.
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
int
extern "C" {
int version() {
- return (BIND10_HOOKS_VERSION + 1);
+ return (KEA_HOOKS_VERSION + 1);
}
};
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
int load(LibraryHandle& handle) {
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
int
int
version() {
- return (BIND10_HOOKS_VERSION);
+ return (KEA_HOOKS_VERSION);
}
int
}
std::string& initRootName() {
- static std::string root("bind10");
+ static std::string root("kea");
return (root);
}
void initLogger(isc::log::Severity severity, int dbglevel) {
// Root logger name is defined by the environment variable B10_LOGGER_ROOT.
- // If not present, the name is "bind10".
- const char* DEFAULT_ROOT = "bind10";
- const char* root = getenv("B10_LOGGER_ROOT");
+ // If not present, the name is "kea".
+ const char* DEFAULT_ROOT = "kea";
+ const char* root = getenv("KEA_LOGGER_ROOT");
if (! root) {
root = DEFAULT_ROOT;
}
/// environment variables. These are:
///
/// - B10_LOGGER_ROOT\n
-/// Name of the root logger. If not given, the string "bind10" will be used.
+/// Name of the root logger. If not given, the string "kea" will be used.
///
/// - B10_LOGGER_SEVERITY\n
/// Severity of messages that will be logged. This must be one of the strings
echo -n " - severity=DEBUG, dbglevel=99: "
cat > $tempfile << .
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-0
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-50
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-99
-INFO [bind10.log] LOG_BAD_SEVERITY unrecognized log severity: info
-WARN [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
-ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
+DEBUG [kea.log] LOG_BAD_DESTINATION unrecognized log destination: debug-0
+DEBUG [kea.log] LOG_BAD_DESTINATION unrecognized log destination: debug-50
+DEBUG [kea.log] LOG_BAD_DESTINATION unrecognized log destination: debug-99
+INFO [kea.log] LOG_BAD_SEVERITY unrecognized log severity: info
+WARN [kea.log] LOG_BAD_STREAM bad log console output stream: warn
+ERROR [kea.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
+FATAL [kea.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
B10_LOGGER_DESTINATION=stdout B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=99 ./init_logger_test | \
sed -e 's/\[\([a-z0-9\.]\{1,\}\)\/\([0-9]\{1,\}\)\]/[\1]/' | \
echo -n " - severity=DEBUG, dbglevel=50: "
cat > $tempfile << .
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-0
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-50
-INFO [bind10.log] LOG_BAD_SEVERITY unrecognized log severity: info
-WARN [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
-ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
+DEBUG [kea.log] LOG_BAD_DESTINATION unrecognized log destination: debug-0
+DEBUG [kea.log] LOG_BAD_DESTINATION unrecognized log destination: debug-50
+INFO [kea.log] LOG_BAD_SEVERITY unrecognized log severity: info
+WARN [kea.log] LOG_BAD_STREAM bad log console output stream: warn
+ERROR [kea.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
+FATAL [kea.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
B10_LOGGER_DESTINATION=stdout B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=50 ./init_logger_test | \
sed -e 's/\[\([a-z0-9\.]\{1,\}\)\/\([0-9]\{1,\}\)\]/[\1]/' | \
echo -n " - severity=WARN: "
cat > $tempfile << .
-WARN [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
-ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
+WARN [kea.log] LOG_BAD_STREAM bad log console output stream: warn
+ERROR [kea.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
+FATAL [kea.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
B10_LOGGER_DESTINATION=stdout B10_LOGGER_SEVERITY=WARN ./init_logger_test | \
sed -e 's/\[\([a-z0-9\.]\{1,\}\)\/\([0-9]\{1,\}\)\]/[\1]/' | \
echo -n " - stdout: "
cat > $tempfile << .
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
+FATAL [kea.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
.
rm -f $destfile_tmp $destfile
B10_LOGGER_SEVERITY=FATAL B10_LOGGER_DESTINATION=stdout ./init_logger_test 1> $destfile_tmp
cat > $tempfile << .
LOGGER_LOCK_TEST: MUTEXLOCK
LOGGER_LOCK_TEST: LOCK
-INFO [bind10.log] LOG_LOCK_TEST_MESSAGE this is a test message.
+INFO [kea.log] LOG_LOCK_TEST_MESSAGE this is a test message.
LOGGER_LOCK_TEST: UNLOCK
.
rm -f $destfile
//
// \return Temporary file name
std::string createTempFilename() {
- string filename = TEMP_DIR + "/bind10_logger_manager_test_XXXXXX";
+ string filename = TEMP_DIR + "/kea_logger_manager_test_XXXXXX";
// Copy into writeable storage for the call to mkstemp
boost::scoped_array<char> tname(new char[filename.size() + 1]);
///
/// Applications normally use this class only in a limited situation: as an
/// interface between legacy I/O operation (such as receiving data from a BSD
-/// socket) and the rest of the BIND10 DNS library. One common usage of this
+/// socket) and the rest of the Kea DNS library. One common usage of this
/// class for an application would therefore be something like this:
///
/// \code unsigned char buf[1024];
/// InputBuffer buffer(buf, cc);
/// // pass the buffer to a DNS message object to parse the message \endcode
///
-/// Other BIND10 DNS classes will then use methods of this class to get access
+/// Other Kea DNS classes will then use methods of this class to get access
/// to the data, but the application normally doesn't have to care about the
/// details.
///
const char* const TEST_UNIX_FILE = TEST_DATA_TOPBUILDDIR "/test.unix";
const char* const TEST_PORT = "53535";
const char* const TEST_PORT2 = "53536"; // use this in case we need 2 ports
-const char TEST_DATA[] = "BIND10 test";
+const char TEST_DATA[] = "Kea test";
// A simple helper structure to automatically close test sockets on return
// or exception in a RAII manner. non copyable to prevent duplicate close.