Changes between Version 4 and Version 5 of LargeScaleDNSSECBCP

Show
Ignore:
Timestamp:
07/08/12 21:54:40 (11 months ago)
Author:
ahu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LargeScaleDNSSECBCP

    v4 v5  
     1= Large Scale DNSSEC Best Current Practices (or 'Best Current Problems') = 
     2This is a list of things we have noticed during several large scale PowerDNS DNNSEC migrations.  
     3 
     4== 100% PowerDNS related ==  
     5 
    16 * Do NOT use PowerDNS 3.0 or 3.0.1 for large scale DNSSEC, it has too many 
    27   bugs.  The documentation already mentions this, but we will be 
     
    1419   binaries and dynamic gethostbyname NSS calls. 
    1520 
     21 * Either stay close to default PowerDNS DNSSEC parameters or consult an expert 
     22   Test your parameters aginst http://dnsviz.net/ and http://dnssec-debugger.verisignlabs.com/. 
     23 
     24 * Updating from PowerDNS 2.9.x to 3.1 requires a database schema upgrade. Not performing the upgrade can lead to silent failures. 
     25   Please consult http://doc.powerdns.com/upgrades.html#from2.9to3.0 and http://doc.powerdns.com/from3.0to3.1.html relevant. 
     26 
     27 * At all times, keep the 'auth' and 'ordername' fields in the database correct, or run 'pdnssec rectify-zone' on changes. 
     28   Read http://doc.powerdns.com/dnssec-modes.html#dnssec-direct-database for more details. 
     29 
     30 * You seriously need to run 'pdnssec check-all-zones'. If an RR has a 
     31   one broken record in it, the entire RRSET can not be signed. This leads 
     32   to pain. In addition, PowerDNS sometimes reacts badly to trying to sign 
     33   broken records. 
     34 
     35== Somewhat PowerDNS related == 
     36 
     37 * Stay away from mixed authoritative and recursive operation on one IP address. Not only does this make life complicated, PowerDNS with  
     38   DNSSEC appears to have some bugs in this area. 
     39 
     40 * When using slaves that AXFR your signed zones, be sure that your slaves actually support serving DNSSEC. Some servers will gladly 
     41   AXFR a signed zone, but not perform DNSSEC processing on it. This goes for PowerDNS 2.9.x 
     42 
     43 * Key rollovers. PowerDNS automatically renews the RRSIGs (the signatures for your DNS data), so you don't need to do anything. There are documents which tell you to roll your DNS keys frequently, although it is now believed such automatic rolling is not required. In any case, if you are doing a large scale migration, it is advised to initially not roll keys until the dust has settled. 
     44 
     45== Generic DNSSEC related ==  
     46 
    1647 * Do not secure zones which you don't run yourself! A common scenario is 
    1748   where you have company.hu still on your servers, and you are still the 
     
    2758   graph on http://xs.powerdns.com/dnssec-nl-graph/ 
    2859 
    29  * You seriously need to run 'pdnssec check-all-zones'. If an RR has a 
    30    one broken record in it, the entire RRSET can not be signed. This leads 
    31    to pain. In addition, PowerDNS sometimes reacts badly to trying to sign 
    32    broken records. 
    33  
    3460 * Make sure your network is stable. It turns out that various versions of 
    3561   BIND respond to timeouts to your server by declaring it as not supporting 
     
    4167   subject. 
    4268 
    43  * Either stay close to default PowerDNS DNSSEC parameters or consult an expert 
    44    Test your parameters aginst http://dnsviz.net/ and http://dnssec-debugger.verisignlabs.com/. 
    45  
    46  * Updating from PowerDNS 2.9.x to 3.1 requires a database schema upgrade. Not performing the upgrade can lead to silent failures. 
    47    Please consult http://doc.powerdns.com/upgrades.html#from2.9to3.0 and http://doc.powerdns.com/from3.0to3.1.html relevant. 
    48  
    49  * At all times, keep the 'auth' and 'ordername' fields in the database correct, or run 'pdnssec rectify-zone' on changes. 
    50    Read http://doc.powerdns.com/dnssec-modes.html#dnssec-direct-database for more details. 
    51  
    5269 * DNSSEC answers are both larger & different than regular DNS answers. Make very sure that no firewall is in front of your server 
    5370   that blocks TCP or large DNS packets. Many default Cisco configurations do just that. 
    5471 
    55  * Stay away from mixed authoritative and recursive operation on one IP address. Not only does this make life complicated, PowerDNS with  
    56    DNSSEC appears to have some bugs in this area. 
    57  
    58  * When using slaves that AXFR your signed zones, be sure that your slaves actually support serving DNSSEC. Some servers will gladly 
    59    AXFR a signed zone, but not perform DNSSEC processing on it. This goes for PowerDNS 2.9.x 
    6072 
    6173 * Clocks need to be set correctly. Also make sure you can reach an NTP server without relying on DNSSEC as a badly set clock will disable DNSSEC, and hence NTP in that case! 
     
    6375 * In any large migration, some things will suddenly stop working because you relied on undefined behaviour or even bugs for proper operations. Be hypervigilant for domains which 'suddenly' malfunction after signing! 
    6476 
    65 * If slaving signed zones via zone transfer (AXFR) , your slaves have a copy of all current DNSSEC signatures (that will expire within two weeks), but not of the actual keys (because AXFR slaves do not need them). So, where slaves used to be "free backups", this is no longer true for DNSSEC unless you replicate the entire database at SQL level (NATIVE replication). We recommend you backup your keys! 
     77 * If slaving signed zones via zone transfer (AXFR) , your slaves have a copy of all current DNSSEC signatures (that will expire within two weeks), but not of the actual keys (because AXFR slaves do not need them). So, where slaves used to be "free backups", this is no longer true for DNSSEC unless you replicate the entire database at SQL level (NATIVE replication). We recommend you backup your keys! 
    6678 
    67  * Key rollovers. PowerDNS automatically renews the RRSIGs (the signatures for your DNS data), so you don't need to do anything. There are documents which tell you to roll your DNS keys frequently, although it is now believed such automatic rolling is not required. In any case, if you are doing a large scale migration, it is advised to initially not roll keys until the dust has settled. 
    6879 
    6980Please stay tuned for further 'best current practices'.