Changeset 2205
- Timestamp:
- 06/03/11 16:11:56 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/pdnssec.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdnssec.cc
r2177 r2205 216 216 if(rr.qtype.getCode() == QType::MX || rr.qtype.getCode() == QType::SRV) 217 217 rr.content = lexical_cast<string>(rr.priority)+" "+rr.content; 218 if(rr.qtype.getCode() == QType::TXT && !rr.content.empty() && rr.content[0]!='"') 219 rr.content = "\""+rr.content+"\""; 220 218 221 if(rr.auth == 0 && rr.qtype.getCode()!=QType::NS && rr.qtype.getCode()!=QType::A) 219 222 { 220 223 cout<<"Following record is auth=0, run pdnssec rectify-zone?: "<<rr.qname<<" IN " <<rr.qtype.getName()<< " " << rr.content<<endl; 224 numerrors++; 221 225 } 222 226 try { … … 630 634 return 0; 631 635 } 632 if( !narrow) {636 if(narrow) { 633 637 cerr<<"The '"<<zone<<"' zone uses narrow NSEC3, but calculating hash anyhow"<<endl; 634 638 }