Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats...

24
Managing and Monitoring a Root DNS Service John Crain Chief Technical Officer

Transcript of Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats...

Page 1: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

ManagingandMonitoringaRootDNSService

JohnCrain

ChiefTechnicalOfficer

Page 2: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

WhoamI?

•  JohnCrain–  ChiefTechnologyOfficeratICANN

•  InvolvedwithICANNsinceearlydays.•  PriortoICANNattheRIPENCCinAmsterdam,

•  PriortothataDesignEngineer,designingprocessesfordevelopingAdvancedThermoplasEcComposites.

2

Page 3: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

3

WhatisICANN?

•  InternaEonal,PublicBenefit,non‐profitorganizaEonchargedwithmanagingtheInternet’sidenEfiersystems.

•  Ensuring“SecurityandStability”ofthosesystemsisacoregoals

•  OneofthosesystemsistheDomainNameSystem.Specificallythecontentofthe“RootZone”.

3

Page 4: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

4 4

Page 5: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

5 5

WhyistheDNSimportant

•  PeopleusedomainnamestonavigatetheInternet

– DomainnamesarealsousedonbusinesscardsandadverEsing

– Whatcanyoudowithoutyourdomainname?

Page 6: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

DomainNameSystem

•  TranslatesthehumanusablenamestomachineusableIPaddresses– www.icann.orgto208.77.188.103

•  HierarchicalDatabasewiththeentrylevel,knowntoallDNSresolversbeingtheDNSrootnameservers

6

Page 7: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

7 7

TheDotYouForgot!

www

icann

org

.

com museum sb fj

http://www.icann.org.

Page 8: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

8 8

FindingtheIPaddress(usingwww.ieE.orgasexample)

PC

Local NS

root NS

? ?

Answer

org NS

?

Answer

ietf NS

?

Answer

Answer

Remembers Answer! Caching

Uses “hints file” in server to find roots

Page 9: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

Rootserversarepartofthecoreinfrastructure

•  13Serverssystems– Namedathroughm.root‐servers.net–  Throughany‐castwehavemorethan100locaEons

•  Operatedby12organizaEons–  hYp://www.root‐servers.org

•  L.root‐servers.netoperatedbyICANN9

Page 10: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

10 10

hJp://www.icann.org/maps/root‐servers.htm

Page 11: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

MonitoringtheroottakescoordinaOon

• MonitoringcanbedoneexternallywithstandardtoolssuchasDIG,NSLookup,Pingetc.etc.

•  GoodexampleisDNSmon

–  hYp://dnsmon.ripe.net

11

Page 12: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

DNSmonrunbyRIPENCC

•  SendsDNSqueriestoserversfrommulEplelocaEonsgivingagoodstatusoftheserviceasseenfrom“TheInternet”.

• Monitorsserversforvariouszones,includingthe“rootzone”

12

Page 13: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

DNSmononagoodday

13

Page 14: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

DNSmononanotsogoodday

14

Page 15: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

DomainNameSystemOperaOons,AnalysisandResearchCenter

•  hYp://www.dns‐oarc.net

•  FormedasamemberorganizaEonwhereDNSoperatorsandresearchescancollaborateonstudyingtheDNSandonoperaEonalresponsewhenneeded.

15

Page 16: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

TLDstatusmonitor

•  NagiosrunningscriptswriYenbythemeasurementfactory.

•  hYps://tldmon.dns‐oarc.net

•  hYps://tldmon.dns‐oarc.net/nagios/

•  (WeuseversionsofthesamescriptsformonitoringL‐root)

16

Page 17: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

TLDmonfromOARC

17

Page 18: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

DayInTheLifeoftheInternet

•  AprojectfromCAIDAwithdataprovidedthroughOARC.

•  hYp://www.caida.org/projects/ditl/•  48hrdatadumpfromvariousauthoritaEveDNSservers(Including8ofthe13root‐servers)

•  Overlapping24hrdatasetused.•  8billionqueriesstudiedin24hrdataset

18

Page 19: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

LessonslearntfromDITL

•  Amountofunnecessaryqueriestotherootsismassive>97%

•  NonexistentTLDS(22%oftotaltraffic!)

•  Repeatqueries(serversnotcachinganswer?)•  AforAqueries

–  (askingfortheIPAddressofanIPaddress)

19

Page 20: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

20 20

OperaOngtheLroot

•  TwolargeClustersinLosAngelesandMiami.

•  Combinedtotalofmorethan80serversansweringDNS.

•  Peeringdirectlywithmorethan50networksthroughouttheglobe

Page 21: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

LocalMonitoring

•  UnElrecentlynogoodDNStrafficmonitoringsonware.

•  LotsofNagios/CacEstats–  Dig,Ping,Memory/CPUusageetc.

•  DomainsStaEsEcsCollector–  Developedbythemeasurementfactory–  Takeslivefeedoftrafficandplacesstatsintoarraysbasedonpredefinedparameters.

21

Page 22: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

Givesliveviewofqueries

•  UpdatesXMLfilestoapresenterserverevery60s

–  ShowsusmanyofthetrendsthatweseeonDITL

–  ForLrootwepublishadelayedversion

–  hYp://stats.l.root‐servers.org

22

Page 23: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

GlobalDNSRiskSymposium

23

Feb 3-4 2009, Atlanta, Georgia

Goals:

Increase understanding of DNS risk to the user community

Examine strengths and weaknesses of current efforts to share technical practices and operational approaches with a goal of improving collaboration in mitigating risks and filling gaps.

Specific focus areas:

• Understanding large enterprise DNS reliance and enabling effective risk mitigation • Meeting the challenges to secure and resilient DNS operations in the developing world • Identifying and improving collaboration in combating malicious activity leveraging the DNS

Page 24: Managing and Monitoring a Root DNS Service · Monitoring a Root DNS Service ... Nagios/Cac stats – Dig ... Managing and Monitoring a Root DNS Service Author: Markus De Shon Created

24 24

QuesOons?

ThankYou