Created
April 26, 2013 11:38
-
-
Save Habbie/5466613 to your computer and use it in GitHub Desktop.
rr=String2DNSRR(rr.qname, rr.qtype, tmp, rr.ttl);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- pdns_recursor.cc.orig 2007-06-05 14:46:08.000000000 +0200 | |
+++ pdns_recursor.cc 2007-06-05 14:46:34.000000000 +0200 | |
@@ -1377,7 +1377,7 @@ | |
while(zpt.get(rr)) { | |
try { | |
string tmp=DNSRR2String(rr); | |
- rr=String2DNSRR(rr.qname, rr.qtype, tmp, 3600); | |
+ rr=String2DNSRR(rr.qname, rr.qtype, tmp, rr.ttl); | |
} | |
catch(exception &e) { | |
throw AhuException("Error parsing record '"+rr.qname+"' of type "+rr.qtype.getName()+" in zone '"+headers.first+"' from file '"+headers.second+"': "+e.what()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment