Changeset 844 for trunk/pdns/pdns/pdns_recursor.cc
- Timestamp:
- 06/06/06 21:55:28 (7 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/pdns_recursor.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdns_recursor.cc
r843 r844 81 81 g_tcpListenSockets_t g_tcpListenSockets; 82 82 int g_tcpTimeout; 83 bool g_ignoreRD; 83 84 84 85 struct DNSComboWriter { … … 497 498 498 499 sr.setId(MT->getTid()); 499 if(!dc->d_mdp.d_header.rd )500 if(!dc->d_mdp.d_header.rd && !g_ignoreRD) 500 501 sr.setCacheOnly(); 501 502 … … 1456 1457 g_quiet=false; 1457 1458 } 1459 1460 g_ignoreRD=::arg().mustDo("ignore-rd-bit"); 1458 1461 1459 1462 RC.d_followRFC2181=::arg().mustDo("auth-can-lower-ttl"); … … 1667 1670 ::arg().set("serve-rfc1918", "If we should be authoritative for RFC 1918 private IP space")=""; 1668 1671 ::arg().set("auth-can-lower-ttl", "If we follow RFC 2181 to the letter, an authoritative server can lower the TTL of NS records")="off"; 1672 ::arg().setSwitch( "ignore-rd-bit", "Assume each packet requires recursion, for compatability" )= "off"; 1669 1673 1670 1674 ::arg().setCmd("help","Provide a helpful message");