SlideShare a Scribd company logo
1 of 28
Quality of DNS and
DNSSEC in the .se Zone
      Patrik Wallström
       pawal@iis.se
The Yearly
      Healthcheck Surveys
• Analyze the quality and reachability of DNS in .se
  • key functions for .se registered domains
  • through a selection of domains that considered important
  • random selection of a percentage of all .se domains
• Primarily aimed at IT strategists and IT managers
  • Also intended for persons responsible for the operation
• Part of larger focus area “Health status of the
 Internet in Sweden”
The Healthcheck System
• Based on .SE:s DNSCheck
• Collects data from the a set of
 domains
  • DNS quality
  • Web pages (Page Analyzer for speed, and
      WhatWeb for content)
  •   AS (web and DNS services)
  •   Some e-mail related info (SPF, StartSSL...)

• Presents analysis
.SE:s DNSSEC campaign

• To reach our goal on at least 50000 signed zones...
• Part of a larger campaign
  • Subsidy of 10 SEK per new DNSSEC domain
  • Yet another 4 SEK per DNSSEC domain at end of year
.SE Market Situation

• Registrars: .SE’s three largest account for 50
 percent of the market. Seven largest commands 75
 percent

• Name server operators: Two largest have 36
 percent, five largest commands 50 percent. Long tail
 with very small players
Most DNS-operators are
    DNSSEC newbies
• We decided to help them
  • By checking their zones
  • Regular report on DNS errors (after changes, opt-in)
  • Special DNSSEC error reports to Registrar Customer Support
• .SE Internal monitoring tools
  • Summary of the above
• A report on DNS with DNSSEC
  • Explaining all the DNSSEC parameters
A tool for analyzing
        DNSSEC quality
• “dnssec-analysis”
  • collect.pl: Quickly gather DNSSEC info on a list of domains
  • analyze.pl: Analyzes the data depending on interest
• https://github.com/pawal/dnssec-analysis
       dnslab$~/dnssec-analysis>./analyze.pl -d 2012-01-09 --rcode
       Reading all json files...
       Serialization done
       Running analysis
       Return codes:
       A:NOERROR: 169555
       A:SERVFAIL: 2824
       DNSKEY:NOERROR: 169562
       DNSKEY:SERVFAIL: 2817
       MX:NOERROR: 169552
       MX:SERVFAIL: 2827
       NSEC3PARAM:NOERROR: 169551
       NSEC3PARAM:SERVFAIL: 2828
       SOA:NOERROR: 169556
       SOA:SERVFAIL: 2823
       ----------------------
       Domains with data: 172379
analyze.pl
Usage:
    analyze -d directory
    Required argument(s):
         --directory directory   A directory with WhatWeb JSON files


Optional arguments:
         --limit value           When generating lists, limit the length to this value
         --recache               Recreate our serialized cache (TODO)
         --fake-date YY-MM-DD    Make this the current date for signature lifetime comparisons
         --rcode                 Analyze RCODEs
         --servfail              Toplist of name servers with SERVFAIL
         --servfaillist ns       Get all domains that SERVFAIL on this name server
         --dsduplicates          Toplist of the number of domains that has the same DS record
         --keyduplicates         Toplist of the number of domains that has the same DNSKEY
         --working-ns            Toplist of name servers not NO ERROR on all queries
         --all-ns                List all name servers in descending order # of associated zones
         --siglife               Analyze RRSIG lifetimes
         --extreme-sigs          List extreme RRSIG lifetimes (inception and expiration larger than 100 days)
         --expiration            Correlate SOA expiration value with lowest RRSIG lifetime
         --algorithms            Analyze DNSSEC algorithms and keylengths
         --nsec3                 Analyze NSEC3 (salt, iterations)
         --keytags               Analyze distribution of DNSKEY keytags
         --keytaglist n          List zones which contain the specified keytag
• A new specialized
  report on DNS and
  DNSSEC quality
• Focus on DNSSEC
• Explaining the
  issues...
Results from the report

  • Report was released 2012-03-21
  • Measurements and analysis during February 2012
  • 174,487 signed zones out of a total of 1,195,719
  • 163,700 actually worked (no SERVFAIL)



“Normal” DNS
SERVFAILs




The tool queries for these RR types through local recursors:
A                           Authoritative

DNSKEY                      Authoritative

MX                          Authoritative

NSEC3PARAM                  Authoritative

SOA                         Authoritative

DS                          Parent (no DNSSEC validation)

NS                          Parent (no DNSSEC validation)
Signature Lifetimes
                                                                                Incep&on(&me(
1000000"



 100000"



  10000"



   1000"



    100"



     10"



      1"
             <" %108" %86" %54" %52" %38" %30" %29" %28" %27" %26" %24" %23" %22" %20" %19" %18" %17" %16" %15" %14" %13" %12" %11" %10" %9"   %8"   %7"   %6"   %5"   %4"   %3"   %2"   %1"   0"
           %150"
1"
         10"
               100"
                      1000"
                              10000"
                                       100000"
                                                 1000000"
   0"
   1"
   2"
   3"
   4"
   5"
   6"
   7"
   8"
   9"
  10"
  11"
  12"
  13"
  14"
  15"
  16"
  17"
  18"
  19"
  20"
  21"
  22"
  23"
  24"
  25"
  26"
  27"
  28"
  29"
                                                            Expira'on*'me*




  30"
  34"
  37"
  38"
  39"
  40"
                                                                             Signature Lifetimes




  41"
  46"
  52"
  54"
  55"
  58"
  60"
  67"
  81"
  83"
  88"
  91"
  92"
  93"
  94"
  99"
 111"
 128"
>200"
DS#Digest#types#


DS"Digest"type""""2"




DS"Digest"type""""1"



                       1"   10"   100"   1000"   10000" 100000" 1000000"
Algorithms

                       DNSKEY'Algorithms'

        RSA'SHA'512"

        RSA'SHA'256"

RSASHA'1'NSEC3'SHA1"

          RSA'SHA'1"

          DSA'SHA'1"

                       1"   10"   100"   1000"   10000" 100000" 1000000"
Algorithms

                       DNSKEY'Algorithms'

        RSA'SHA'512"

        RSA'SHA'256"

RSASHA'1'NSEC3'SHA1"

          RSA'SHA'1"

          DSA'SHA'1"

                       1"   10"   100"   1000"   10000" 100000" 1000000"
Algorithms

                       DNSKEY'Algorithms'                                                   RRSIGs&from&algorithms&

        RSA'SHA'512"                                                               RSA'SHA'512"

        RSA'SHA'256"                                                               RSA'SHA'256"

RSASHA'1'NSEC3'SHA1"                                                       RSASHA'1'NSEC3'SHA1"

          RSA'SHA'1"                                                                 RSA'SHA'1"

          DSA'SHA'1"                                                                 DSA'SHA'1"

                       1"   10"   100"   1000"   10000" 100000" 1000000"                          1"   10"   100"   1000"   10000" 100000" 1000000"
Key Lengths

                      DNSKEY'key'lengths'
   4096"
   2304"
   2048"
   1536"
   1304"
   1280"
   1152"
   1024"
    768"
    512"
8"(DSA)"
           1"   10"      100"   1000"   10000"   100000"   1000000"
Key Lengths

                      DNSKEY'key'lengths'                                             DNSKEY'Key'lengths'per'type'
   4096"                                                                 4096"
   2304"                                                                 2304"
   2048"                                                                 2048"
   1536"                                                                 1536"
   1304"                                                                 1304"
   1280"                                                                 1280"                                                        ZSK"
   1152"                                                                 1152"                                                        KSK"
   1024"                                                                 1024"
    768"                                                                  768"
    512"                                                                  512"
8"(DSA)"                                                              8"(DSA)"
           1"   10"      100"   1000"   10000"   100000"   1000000"              1"    10"   100"   1000"   10000" 100000" 1000000"
NSEC%vs%NSEC3%


           NSEC#zones#




NSEC3#Hash#algorithm#1#



                     80000# 80500# 81000# 81500# 82000# 82500# 83000#
NSEC3&Itera,ons&
100000"

 10000"

  1000"

   100"

    10"

     1"
          0"   1"    3"   5"   8"   10"   100"   128"   150"
NSEC3&Itera,ons&
   100000"

    10000"

     1000"

      100"

          10"

           1"
                     0"        1"         3"        5"    8"    10"   100"    128"     150"




                                               Salt%length%
100000"

 10000"

  1000"

   100"

    10"

     1"
                1"        2"        4"         6"    8"   16"   18"   20"    24"     32"      64"
Shared Keys




     Key Averages...
DS per domain          1.614838119
KSK per domain         1.000207697
ZSK per domain         1.612724496
DNSKEY per domain      2.612932193
SOA Expire vs
                    RRSIG Expiration
                                                           SOA$Expire$
100000"



 10000"



  1000"



   100"



    10"



     1"
          1"   2"    3"   4"   7"   8"   9"   10"   12"   14"   15"   21"   28"   30"   31"   32"   35"   37"   42"   56"   60"   70"   100"



                    RIPE recommendation is 1000 (41 days) for SOA Expire, RIPE-203
SOA Expire vs
                            RRSIG Expiration
                                                                    SOA$Expire$vs$RRSIG$expira1on$
100000"




 10000"




  1000"




   100"




    10"




     1"
          <"50" &33" &29" &23" &21" &19" &17" &15" &13" &11"
             &45" &30" &26" &22" &20" &18" &16" &14" &12" &10"&9" &8" &7" &6" &5" &4" &3" &2" &1" 0" 1" 2" 3" 4" 5" 6" 7" 8" 9" 10"11"12"13"14"15"16"17"18"19"20"21"22"23"24"26"27"
                                                                                                                                                                                  >"31"


                        RFC4641bis says that RRSIG expiration should be 2/3 of SOA Expire
Summary of
           DNSSEC analysis
• Signature lengths found that are too short, or unexpectedly
    long
•   Use of NSEC3 is essentially adequate
•   Most domains use RSA keys, 2,048 bit KSK and 1,024 ZSK
•   A few too many domains are using 512 bit keys ... in 2012
•   We can begin to discontinue the double publication of DS
    types 1 and 2, as the publication of type 2 is sufficient today.
•   All too often, SOA Expire lacks a connection to RRSIG
    expiration time, these parameters should definitely be
    reviewed.
Future work
• Frequent measurements over time to see ...
  •   Key rollovers
  •   Signature refresh intervals
  •   Number of domains that regularly fails
  •   Salt replacements
• Long term measurements to see ...
  • Introduction rate of new algorithms
  • New operational methods (shared keys, CSK etc)
• TTLs

• RIPE DNSSEC recommendations document?
Thank you!


Code:
https://github.com/pawal/dnssec-analysis

Report:
https://www.iis.se/docs/Health-Status-DNS-and-DNSSEC-20120321.pdf

More Related Content

Viewers also liked (18)

Zonemaster Lightning talk, DNS-OARC Spring meeting 2014
Zonemaster Lightning talk, DNS-OARC Spring meeting 2014Zonemaster Lightning talk, DNS-OARC Spring meeting 2014
Zonemaster Lightning talk, DNS-OARC Spring meeting 2014
 
OpenDNSSEC RIPE58
OpenDNSSEC RIPE58OpenDNSSEC RIPE58
OpenDNSSEC RIPE58
 
DNSSEC Grunderna
DNSSEC GrundernaDNSSEC Grunderna
DNSSEC Grunderna
 
Nebraska State Fair
Nebraska State FairNebraska State Fair
Nebraska State Fair
 
Yurdum insanları
Yurdum insanlarıYurdum insanları
Yurdum insanları
 
yıl 2070
yıl 2070yıl 2070
yıl 2070
 
Sevemedi istanbul bizi
Sevemedi istanbul biziSevemedi istanbul bizi
Sevemedi istanbul bizi
 
vegetabli e produzzi
vegetabli e produzzivegetabli e produzzi
vegetabli e produzzi
 
tantra
tantratantra
tantra
 
Toprak Satısı -2006
Toprak Satısı -2006Toprak Satısı -2006
Toprak Satısı -2006
 
Anayasa Değişikliği -karşılaştırmalı-
Anayasa Değişikliği -karşılaştırmalı-Anayasa Değişikliği -karşılaştırmalı-
Anayasa Değişikliği -karşılaştırmalı-
 
?zınısım adnıkraf ninekilhet
?zınısım adnıkraf ninekilhet?zınısım adnıkraf ninekilhet
?zınısım adnıkraf ninekilhet
 
Hayatınızın 3 Saniyesi
Hayatınızın 3 SaniyesiHayatınızın 3 Saniyesi
Hayatınızın 3 Saniyesi
 
Yurdum
YurdumYurdum
Yurdum
 
Türkiye'de toplumsal eşitsizlik issp may-26-2010-vs3
Türkiye'de toplumsal eşitsizlik issp may-26-2010-vs3Türkiye'de toplumsal eşitsizlik issp may-26-2010-vs3
Türkiye'de toplumsal eşitsizlik issp may-26-2010-vs3
 
Paz Art2
Paz Art2Paz Art2
Paz Art2
 
Paz Art2
Paz Art2Paz Art2
Paz Art2
 
One Two Buckle My Shoe
One Two Buckle My ShoeOne Two Buckle My Shoe
One Two Buckle My Shoe
 

Similar to RIPE64 - DNS and DNSSEC in the .se Zone

PLNOG 5: Eric Ziegast, Zbigniew Jasinski - DNSSEC
PLNOG 5: Eric Ziegast, Zbigniew Jasinski -  DNSSECPLNOG 5: Eric Ziegast, Zbigniew Jasinski -  DNSSEC
PLNOG 5: Eric Ziegast, Zbigniew Jasinski - DNSSECPROIDEA
 
Cassandra Tutorial
Cassandra TutorialCassandra Tutorial
Cassandra Tutorialmubarakss
 
Understanding DSE Search by Matt Stump
Understanding DSE Search by Matt StumpUnderstanding DSE Search by Matt Stump
Understanding DSE Search by Matt StumpDataStax
 
Boundary Front end tech talk: how it works
Boundary Front end tech talk: how it worksBoundary Front end tech talk: how it works
Boundary Front end tech talk: how it worksBoundary
 
N1QL: What's new in Couchbase 5.0
N1QL: What's new in Couchbase 5.0N1QL: What's new in Couchbase 5.0
N1QL: What's new in Couchbase 5.0Keshav Murthy
 
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...MongoDB
 
Ben Coverston - The Apache Cassandra Project
Ben Coverston - The Apache Cassandra ProjectBen Coverston - The Apache Cassandra Project
Ben Coverston - The Apache Cassandra ProjectMorningstar Tech Talks
 
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto Docker, Inc.
 
Webinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based Sharding
Webinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based ShardingWebinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based Sharding
Webinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based ShardingMongoDB
 
C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1
C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1
C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1DataStax Academy
 
Cassandra Summit EU 2013
Cassandra Summit EU 2013Cassandra Summit EU 2013
Cassandra Summit EU 2013jbellis
 
Hardening the Core of the Internet
Hardening the Core of the InternetHardening the Core of the Internet
Hardening the Core of the InternetRIPE NCC
 
Signing DNSSEC answers on the fly at the edge: challenges and solutions
Signing DNSSEC answers on the fly at the edge: challenges and solutionsSigning DNSSEC answers on the fly at the edge: challenges and solutions
Signing DNSSEC answers on the fly at the edge: challenges and solutionsAPNIC
 
(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...
(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...
(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...Amazon Web Services
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQLYan Cui
 

Similar to RIPE64 - DNS and DNSSEC in the .se Zone (20)

ION San Diego - ARIN Support for DNSSEC and RPKI
ION San Diego - ARIN Support for DNSSEC and RPKIION San Diego - ARIN Support for DNSSEC and RPKI
ION San Diego - ARIN Support for DNSSEC and RPKI
 
PLNOG 5: Eric Ziegast, Zbigniew Jasinski - DNSSEC
PLNOG 5: Eric Ziegast, Zbigniew Jasinski -  DNSSECPLNOG 5: Eric Ziegast, Zbigniew Jasinski -  DNSSEC
PLNOG 5: Eric Ziegast, Zbigniew Jasinski - DNSSEC
 
Cassandra Tutorial
Cassandra TutorialCassandra Tutorial
Cassandra Tutorial
 
Understanding DSE Search by Matt Stump
Understanding DSE Search by Matt StumpUnderstanding DSE Search by Matt Stump
Understanding DSE Search by Matt Stump
 
An Overview of DNSSEC
An Overview of DNSSECAn Overview of DNSSEC
An Overview of DNSSEC
 
ION Bucharest - DANE-DNSSEC-TLS
ION Bucharest - DANE-DNSSEC-TLSION Bucharest - DANE-DNSSEC-TLS
ION Bucharest - DANE-DNSSEC-TLS
 
Boundary Front end tech talk: how it works
Boundary Front end tech talk: how it worksBoundary Front end tech talk: how it works
Boundary Front end tech talk: how it works
 
N1QL: What's new in Couchbase 5.0
N1QL: What's new in Couchbase 5.0N1QL: What's new in Couchbase 5.0
N1QL: What's new in Couchbase 5.0
 
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
Ensuring High Availability for Real-time Analytics featuring Boxed Ice / Serv...
 
Ben Coverston - The Apache Cassandra Project
Ben Coverston - The Apache Cassandra ProjectBen Coverston - The Apache Cassandra Project
Ben Coverston - The Apache Cassandra Project
 
Elastic{ON} 2017 Recap
Elastic{ON} 2017 RecapElastic{ON} 2017 Recap
Elastic{ON} 2017 Recap
 
ION Bangladesh - DANE, DNSSEC, and TLS Testing in the Go6lab
ION Bangladesh - DANE, DNSSEC, and TLS Testing in the Go6labION Bangladesh - DANE, DNSSEC, and TLS Testing in the Go6lab
ION Bangladesh - DANE, DNSSEC, and TLS Testing in the Go6lab
 
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
 
Webinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based Sharding
Webinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based ShardingWebinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based Sharding
Webinar: MongoDB 2.4 Feature Demo and Q&A on Hash-based Sharding
 
C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1
C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1
C* Summit EU 2013: Keynote by Jonathan Ellis — Cassandra 2.0 & 2.1
 
Cassandra Summit EU 2013
Cassandra Summit EU 2013Cassandra Summit EU 2013
Cassandra Summit EU 2013
 
Hardening the Core of the Internet
Hardening the Core of the InternetHardening the Core of the Internet
Hardening the Core of the Internet
 
Signing DNSSEC answers on the fly at the edge: challenges and solutions
Signing DNSSEC answers on the fly at the edge: challenges and solutionsSigning DNSSEC answers on the fly at the edge: challenges and solutions
Signing DNSSEC answers on the fly at the edge: challenges and solutions
 
(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...
(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...
(GAM201) Scalable Game Architectures That Don't Break the Bank | AWS re:Inven...
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 

More from pawal

Tor Cryptoparty 2016
Tor Cryptoparty 2016Tor Cryptoparty 2016
Tor Cryptoparty 2016pawal
 
Du läcker data
Du läcker dataDu läcker data
Du läcker datapawal
 
TLS, lite status från #MeraKrypto
TLS, lite status från #MeraKryptoTLS, lite status från #MeraKrypto
TLS, lite status från #MeraKryptopawal
 
Wifi Cryptoparty 2013
Wifi Cryptoparty 2013Wifi Cryptoparty 2013
Wifi Cryptoparty 2013pawal
 
Köpa crypto
Köpa cryptoKöpa crypto
Köpa cryptopawal
 
DNSSEC in .SE
DNSSEC in .SEDNSSEC in .SE
DNSSEC in .SEpawal
 

More from pawal (6)

Tor Cryptoparty 2016
Tor Cryptoparty 2016Tor Cryptoparty 2016
Tor Cryptoparty 2016
 
Du läcker data
Du läcker dataDu läcker data
Du läcker data
 
TLS, lite status från #MeraKrypto
TLS, lite status från #MeraKryptoTLS, lite status från #MeraKrypto
TLS, lite status från #MeraKrypto
 
Wifi Cryptoparty 2013
Wifi Cryptoparty 2013Wifi Cryptoparty 2013
Wifi Cryptoparty 2013
 
Köpa crypto
Köpa cryptoKöpa crypto
Köpa crypto
 
DNSSEC in .SE
DNSSEC in .SEDNSSEC in .SE
DNSSEC in .SE
 

Recently uploaded

Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 

Recently uploaded (20)

Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 

RIPE64 - DNS and DNSSEC in the .se Zone

  • 1. Quality of DNS and DNSSEC in the .se Zone Patrik Wallström pawal@iis.se
  • 2. The Yearly Healthcheck Surveys • Analyze the quality and reachability of DNS in .se • key functions for .se registered domains • through a selection of domains that considered important • random selection of a percentage of all .se domains • Primarily aimed at IT strategists and IT managers • Also intended for persons responsible for the operation • Part of larger focus area “Health status of the Internet in Sweden”
  • 3. The Healthcheck System • Based on .SE:s DNSCheck • Collects data from the a set of domains • DNS quality • Web pages (Page Analyzer for speed, and WhatWeb for content) • AS (web and DNS services) • Some e-mail related info (SPF, StartSSL...) • Presents analysis
  • 4. .SE:s DNSSEC campaign • To reach our goal on at least 50000 signed zones... • Part of a larger campaign • Subsidy of 10 SEK per new DNSSEC domain • Yet another 4 SEK per DNSSEC domain at end of year
  • 5. .SE Market Situation • Registrars: .SE’s three largest account for 50 percent of the market. Seven largest commands 75 percent • Name server operators: Two largest have 36 percent, five largest commands 50 percent. Long tail with very small players
  • 6. Most DNS-operators are DNSSEC newbies • We decided to help them • By checking their zones • Regular report on DNS errors (after changes, opt-in) • Special DNSSEC error reports to Registrar Customer Support • .SE Internal monitoring tools • Summary of the above • A report on DNS with DNSSEC • Explaining all the DNSSEC parameters
  • 7. A tool for analyzing DNSSEC quality • “dnssec-analysis” • collect.pl: Quickly gather DNSSEC info on a list of domains • analyze.pl: Analyzes the data depending on interest • https://github.com/pawal/dnssec-analysis dnslab$~/dnssec-analysis>./analyze.pl -d 2012-01-09 --rcode Reading all json files... Serialization done Running analysis Return codes: A:NOERROR: 169555 A:SERVFAIL: 2824 DNSKEY:NOERROR: 169562 DNSKEY:SERVFAIL: 2817 MX:NOERROR: 169552 MX:SERVFAIL: 2827 NSEC3PARAM:NOERROR: 169551 NSEC3PARAM:SERVFAIL: 2828 SOA:NOERROR: 169556 SOA:SERVFAIL: 2823 ---------------------- Domains with data: 172379
  • 8. analyze.pl Usage: analyze -d directory Required argument(s): --directory directory A directory with WhatWeb JSON files Optional arguments: --limit value When generating lists, limit the length to this value --recache Recreate our serialized cache (TODO) --fake-date YY-MM-DD Make this the current date for signature lifetime comparisons --rcode Analyze RCODEs --servfail Toplist of name servers with SERVFAIL --servfaillist ns Get all domains that SERVFAIL on this name server --dsduplicates Toplist of the number of domains that has the same DS record --keyduplicates Toplist of the number of domains that has the same DNSKEY --working-ns Toplist of name servers not NO ERROR on all queries --all-ns List all name servers in descending order # of associated zones --siglife Analyze RRSIG lifetimes --extreme-sigs List extreme RRSIG lifetimes (inception and expiration larger than 100 days) --expiration Correlate SOA expiration value with lowest RRSIG lifetime --algorithms Analyze DNSSEC algorithms and keylengths --nsec3 Analyze NSEC3 (salt, iterations) --keytags Analyze distribution of DNSKEY keytags --keytaglist n List zones which contain the specified keytag
  • 9. • A new specialized report on DNS and DNSSEC quality • Focus on DNSSEC • Explaining the issues...
  • 10. Results from the report • Report was released 2012-03-21 • Measurements and analysis during February 2012 • 174,487 signed zones out of a total of 1,195,719 • 163,700 actually worked (no SERVFAIL) “Normal” DNS
  • 11. SERVFAILs The tool queries for these RR types through local recursors: A Authoritative DNSKEY Authoritative MX Authoritative NSEC3PARAM Authoritative SOA Authoritative DS Parent (no DNSSEC validation) NS Parent (no DNSSEC validation)
  • 12. Signature Lifetimes Incep&on(&me( 1000000" 100000" 10000" 1000" 100" 10" 1" <" %108" %86" %54" %52" %38" %30" %29" %28" %27" %26" %24" %23" %22" %20" %19" %18" %17" %16" %15" %14" %13" %12" %11" %10" %9" %8" %7" %6" %5" %4" %3" %2" %1" 0" %150"
  • 13. 1" 10" 100" 1000" 10000" 100000" 1000000" 0" 1" 2" 3" 4" 5" 6" 7" 8" 9" 10" 11" 12" 13" 14" 15" 16" 17" 18" 19" 20" 21" 22" 23" 24" 25" 26" 27" 28" 29" Expira'on*'me* 30" 34" 37" 38" 39" 40" Signature Lifetimes 41" 46" 52" 54" 55" 58" 60" 67" 81" 83" 88" 91" 92" 93" 94" 99" 111" 128" >200"
  • 14. DS#Digest#types# DS"Digest"type""""2" DS"Digest"type""""1" 1" 10" 100" 1000" 10000" 100000" 1000000"
  • 15. Algorithms DNSKEY'Algorithms' RSA'SHA'512" RSA'SHA'256" RSASHA'1'NSEC3'SHA1" RSA'SHA'1" DSA'SHA'1" 1" 10" 100" 1000" 10000" 100000" 1000000"
  • 16. Algorithms DNSKEY'Algorithms' RSA'SHA'512" RSA'SHA'256" RSASHA'1'NSEC3'SHA1" RSA'SHA'1" DSA'SHA'1" 1" 10" 100" 1000" 10000" 100000" 1000000"
  • 17. Algorithms DNSKEY'Algorithms' RRSIGs&from&algorithms& RSA'SHA'512" RSA'SHA'512" RSA'SHA'256" RSA'SHA'256" RSASHA'1'NSEC3'SHA1" RSASHA'1'NSEC3'SHA1" RSA'SHA'1" RSA'SHA'1" DSA'SHA'1" DSA'SHA'1" 1" 10" 100" 1000" 10000" 100000" 1000000" 1" 10" 100" 1000" 10000" 100000" 1000000"
  • 18. Key Lengths DNSKEY'key'lengths' 4096" 2304" 2048" 1536" 1304" 1280" 1152" 1024" 768" 512" 8"(DSA)" 1" 10" 100" 1000" 10000" 100000" 1000000"
  • 19. Key Lengths DNSKEY'key'lengths' DNSKEY'Key'lengths'per'type' 4096" 4096" 2304" 2304" 2048" 2048" 1536" 1536" 1304" 1304" 1280" 1280" ZSK" 1152" 1152" KSK" 1024" 1024" 768" 768" 512" 512" 8"(DSA)" 8"(DSA)" 1" 10" 100" 1000" 10000" 100000" 1000000" 1" 10" 100" 1000" 10000" 100000" 1000000"
  • 20. NSEC%vs%NSEC3% NSEC#zones# NSEC3#Hash#algorithm#1# 80000# 80500# 81000# 81500# 82000# 82500# 83000#
  • 21. NSEC3&Itera,ons& 100000" 10000" 1000" 100" 10" 1" 0" 1" 3" 5" 8" 10" 100" 128" 150"
  • 22. NSEC3&Itera,ons& 100000" 10000" 1000" 100" 10" 1" 0" 1" 3" 5" 8" 10" 100" 128" 150" Salt%length% 100000" 10000" 1000" 100" 10" 1" 1" 2" 4" 6" 8" 16" 18" 20" 24" 32" 64"
  • 23. Shared Keys Key Averages... DS per domain 1.614838119 KSK per domain 1.000207697 ZSK per domain 1.612724496 DNSKEY per domain 2.612932193
  • 24. SOA Expire vs RRSIG Expiration SOA$Expire$ 100000" 10000" 1000" 100" 10" 1" 1" 2" 3" 4" 7" 8" 9" 10" 12" 14" 15" 21" 28" 30" 31" 32" 35" 37" 42" 56" 60" 70" 100" RIPE recommendation is 1000 (41 days) for SOA Expire, RIPE-203
  • 25. SOA Expire vs RRSIG Expiration SOA$Expire$vs$RRSIG$expira1on$ 100000" 10000" 1000" 100" 10" 1" <"50" &33" &29" &23" &21" &19" &17" &15" &13" &11" &45" &30" &26" &22" &20" &18" &16" &14" &12" &10"&9" &8" &7" &6" &5" &4" &3" &2" &1" 0" 1" 2" 3" 4" 5" 6" 7" 8" 9" 10"11"12"13"14"15"16"17"18"19"20"21"22"23"24"26"27" >"31" RFC4641bis says that RRSIG expiration should be 2/3 of SOA Expire
  • 26. Summary of DNSSEC analysis • Signature lengths found that are too short, or unexpectedly long • Use of NSEC3 is essentially adequate • Most domains use RSA keys, 2,048 bit KSK and 1,024 ZSK • A few too many domains are using 512 bit keys ... in 2012 • We can begin to discontinue the double publication of DS types 1 and 2, as the publication of type 2 is sufficient today. • All too often, SOA Expire lacks a connection to RRSIG expiration time, these parameters should definitely be reviewed.
  • 27. Future work • Frequent measurements over time to see ... • Key rollovers • Signature refresh intervals • Number of domains that regularly fails • Salt replacements • Long term measurements to see ... • Introduction rate of new algorithms • New operational methods (shared keys, CSK etc) • TTLs • RIPE DNSSEC recommendations document?

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n