Changeset 1637
- Timestamp:
- 06/14/10 20:05:22 (3 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 4 modified
-
pdns_recursor.cc (modified) (1 diff)
-
rec_channel_rec.cc (modified) (1 diff)
-
syncres.cc (modified) (2 diffs)
-
syncres.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdns_recursor.cc
r1636 r1637 1591 1591 vector<string> ips; 1592 1592 stringtok(ips, ::arg()["dont-query"], ", "); 1593 ips.push_back("0.0.0.0"); 1594 ips.push_back("::"); 1593 1595 L<<Logger::Warning<<"Will not send queries to: "; 1594 1596 for(vector<string>::const_iterator i = ips.begin(); i!= ips.end(); ++i) { -
trunk/pdns/pdns/rec_channel_rec.cc
r1623 r1637 391 391 addGetStat("ipv6-outqueries", &g_stats.ipv6queries); 392 392 addGetStat("throttled-outqueries", &SyncRes::s_throttledqueries); 393 addGetStat("dont-outqueries", &SyncRes::s_dontqueries); 393 394 addGetStat("throttled-out", &SyncRes::s_throttledqueries); 394 395 addGetStat("unreachables", &SyncRes::s_unreachables); -
trunk/pdns/pdns/syncres.cc
r1628 r1637 49 49 unsigned int SyncRes::s_tcpoutqueries; 50 50 unsigned int SyncRes::s_throttledqueries; 51 unsigned int SyncRes::s_dontqueries; 51 52 unsigned int SyncRes::s_nodelegated; 52 53 unsigned int SyncRes::s_unreachables; … … 865 866 else if(!pierceDontQuery && g_dontQuery && g_dontQuery->match(&*remoteIP)) { 866 867 LOG<<prefix<<qname<<": not sending query to " << remoteIP->toString() << ", blocked by 'dont-query' setting" << endl; 868 s_dontqueries++; 867 869 continue; 868 870 } -
trunk/pdns/pdns/syncres.hh
r1623 r1637 200 200 static unsigned int s_outgoingtimeouts; 201 201 static unsigned int s_throttledqueries; 202 static unsigned int s_dontqueries; 202 203 static unsigned int s_outqueries; 203 204 static unsigned int s_tcpoutqueries;