Changeset 1030
- Timestamp:
- 04/15/07 23:15:57 (1 year ago)
- Files:
-
- trunk/pdns/pdns/backends/bind/bindbackend2.cc (modified) (2 diffs)
- trunk/pdns/pdns/zoneparser-tng.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pdns/pdns/backends/bind/bindbackend2.cc
r1029 r1030 198 198 switch(r.qtype.getCode()) { 199 199 case QType::MX: 200 if(!stripDomainSuffix(&content, domain))200 if(!stripDomainSuffix(&content, domain)) 201 201 content+="."; 202 202 *d_of<<qname<<"\t"<<r.ttl<<"\t"<<r.qtype.getName()<<"\t"<<r.priority<<"\t"<<content<<endl; … … 204 204 case QType::CNAME: 205 205 case QType::NS: 206 if(!stripDomainSuffix(&content, domain))206 if(!stripDomainSuffix(&content, domain)) 207 207 content+="."; 208 208 *d_of<<qname<<"\t"<<r.ttl<<"\t"<<r.qtype.getName()<<"\t"<<content<<endl; trunk/pdns/pdns/zoneparser-tng.cc
r1026 r1030 311 311 chopComment(rr.content); 312 312 313 if(equals(rr.content, "@")) 314 rr.content=d_zonename; 315 313 316 if(findAndElide(rr.content, '(')) { // have found a ( and elided it 314 317 if(!findAndElide(rr.content, ')')) {