You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Reject domain name if it embeds quotes; this may happen if 8bit-dns is
1498
+
// used, and bind currently does not allow for character escapes in zone
1499
+
// names.
1500
+
if (domainname.find_first_of("\"") != std::string::npos) {
1501
+
SLOG(g_log << Logger::Error << d_logprefix
1502
+
<< " Unable to accept autosecondary zone '" << domain
1503
+
<< "' from autoprimary " << ipAddress
1504
+
<< " due to unauthorized characters in domain name for bind configuration file"
1505
+
<< endl,
1506
+
d_slog->error(Logr::Error, "unauthorized characters in domain name for bind configuration file", "Unable to accept autosecondary zone", "zone", Logging::Loggable(domain), "autoprimary address", Logging::Loggable(ipAddress)));
1507
+
throwPDNSException("Unauthorized characters in domain name for bind configuration file");
0 commit comments