Changeset 1844

Show
Ignore:
Timestamp:
01/09/11 10:06:25 (2 years ago)
Author:
ahu
Message:

always sign DS records - bit of an oddity, we normally assume that all records with the same name have the same 'auth' status, but they don't

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dnspacket.cc

    r1832 r1844  
    304304          signTTL = pos->ttl; 
    305305          signPlace = (DNSPacketWriter::Place) pos->d_place; 
    306           if(pos->auth) 
     306          if(pos->auth || pos->qtype.getCode() == QType::DS) 
    307307            toSign.push_back(drc); 
    308308        }