#
# retrieval-threads=2
+#################################
+# security-poll-suffix Domain name from which to query security update notifications
+#
+# security-poll-suffix=secpoll.powerdns.com.
+
#################################
# send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority
#
L<<Logger::Warning<<"Unable to poll PowerDNS security status, did not get any servers from resolv.conf"<<endl;
BOOST_FOREACH(ComboAddress& dest, s_servers) {
- Socket sock(dest.sin4.sin_family, SOCK_DGRAM);
+ Socket sock((AddressFamily) dest.sin4.sin_family, Datagram);
sock.setNonBlocking();
sock.sendTo(string((char*)&*packet.begin(), (char*)&*packet.end()), dest);
}
else {
- L<<Logger::Warning<<"Could not retrieve security status update for '" + string(PACKAGEVERSION) + "' on '"+query+"', RCODE = "<< RCode::to_s(res)<<endl;
+ L<<Logger::Warning<<"Could not retrieve security status update for '" + string(PACKAGEVERSION) + "' on '"+query+"', RCODE = "<<res<<endl;
if(security_status == 1) // it was ok, not it is unknown
security_status = 0;
}
void showProductVersion()
{
theL()<<Logger::Warning<<"PowerDNS "<<productName<<" "<<PDNS_VERSION<<" ("DIST_HOST") "
- "(C) 2001-2013 PowerDNS.COM BV" << endl;
+ "(C) 2001-2015 PowerDNS.COM BV" << endl;
theL()<<Logger::Warning<<"Using "<<(sizeof(unsigned long)*8)<<"-bits mode. "
"Built on "BUILD_DATE" by "BUILD_HOST", "<<compilerVersion()<<"."<<endl;
theL()<<Logger::Warning<<"PowerDNS comes with ABSOLUTELY NO WARRANTY. "
printtable(ret,rvarmap["ring"],S.getRingTitle(rvarmap["ring"]),100);
ret<<"</div></div>"<<endl;
- ret<<"<footer class=\"row\">"<<fullVersionString()<<"<br>© 2013 <a href=\"http://www.powerdns.com/\">PowerDNS.COM BV</a>.</footer>"<<endl;
+ ret<<"<footer class=\"row\">"<<fullVersionString()<<"<br>© 2001-2015 <a href=\"http://www.powerdns.com/\">PowerDNS.COM BV</a>.</footer>"<<endl;
ret<<"</body></html>"<<endl;
return ret.str();