cs 557 domain name system
play

CS 557 Domain Name System Development of the Domain Name System - PowerPoint PPT Presentation

CS 557 Domain Name System Development of the Domain Name System Mockapetris and Dunlap, 1988 Impact of Configuration Errors on DNS Robustness V. Pappas, Z. Xu, S. Lu, D. Massey, A. Terzis, and L. Zhang, 2004 Spring 2013 The Story So Far .


  1. CS 557 Domain Name System Development of the Domain Name System Mockapetris and Dunlap, 1988 Impact of Configuration Errors on DNS Robustness V. Pappas, Z. Xu, S. Lu, D. Massey, A. Terzis, and L. Zhang, 2004 Spring 2013

  2. The Story So Far … . Some Essential Apps: DNS (naming) and NTP (time). Transport layer: End to End communication, Multiplexing, Reliability, Network layer: Addressing, Congestion control, Fragmentation, Dynamic Flow control, Routing, Best Effort Forwarding Data Layer: richly connected network (many paths) with many types of unreliable links

  3. Slides Adopted From SIGCOMM 2004 Presentation

  4. Motivation • DNS: part of the Internet core infrastructure – Applications: web, e-mail, e164, CDNs … • DNS: considered as a very reliable system – Works almost always • Question: is DNS a robust system? – User-perceived robustness – System robustness are they the same?

  5. Motivation Short Answer: “ Microsoft's websites were offline for up to 23 hours -- the most dramatic snafu to date on the Internet -- because of an equipment misconfiguration ” -- Wired News, Jan 2001 – Thousands or even millions of users affected – All due to a single DNS configuration error

  6. Related Work • Traffic & implementation errors studies: – Danzig et al. [ SIGCOMM92 ]: bugs – CAIDA : traffic & bugs • Performance studies: – Jung et al. [ IMW01 ]: caching – Cohen et al. [ SAINT01 ]: proactive caching – Liston et al. [ IMW02 ]: diversity • Server availability : – To appear [ OSDI04, IMC04 ]

  7. Our Work: Study DNS Robustness • Classify DNS operational errors: – Study known errors – Identify new types of errors • Measure their pervasiveness • Quantify their impact on DNS – availability – performance

  8. Outline • DNS Overview • Measurement Methodology • DNS Configuration Errors – Example Cases – Measurement Results • Discussion & Summary

  9. Background net com uk ca jp bar.foo.com. NS ns1.bar.foo.com. bar.foo.com. NS ns3.bar.foo.com. bar.foo.com. NS ns2.bar.foo.com. foo Zone: bar.foo.com. MX mail.bar.foo.com. Occupies a continues subspace www.bar.foo.com. A 10.10.10.10 Served by the same nameservers bar buz bar resource records name servers bar1 bar2 bar3

  10. asking for www.bar.foo.com answer: www.bar.foo.com A 10.10.10.10 client referral: caching server com NS RRs com A RRs root zone referral: referral: bar NS RRs foo NS RRs bar A RRs foo A RRs com zone foo zone bar zone

  11. Infrastructure RRs foo.com. NS ns1.foo.com. • NS Resource Record : foo.com. NS ns2.foo.com. foo.com. NS ns3.foo.com. – Provides the names of a ns1.foo.com. A 1.1.1.1 com ns2.foo.com. A 2.2.2.2 zone ’ s authoritative servers ns3.foo.com. A 3.3.3.3 – Stored both at the parent and at the child zone • A Resource Record foo.com. NS ns1.foo.com. foo.com. NS ns2.foo.com. foo.com. NS ns3.foo.com. – Associated with a NS resource record ns1.foo.com. A 1.1.1.1 foo.com – Stored at the parent zone (glue A record) ns2.foo.com. A 2.2.2.2 ns3.foo.com. A 3.3.3.3

  12. What Affects DNS Availability • Name Servers: – Software failures – Network failures – Scheduled maintenance tasks • Infrastructure Resource Records: focus of – Availability of these records our work – Configuration errors

  13. Classification of Measured Errors Inconsistency Dependency Lame Delegation Diminished Cyclic Delegation Inconsistency Redundancy Dependency The configuration of infrastructure More than one name-servers share a RRs does not correspond to the common point of failure. actual authoritative name-servers.

  14. What is Measured? • Frequency of configuration errors: – System parameters: TLDs , DNS level, zone size ( i.e. the number of delegations) • Impact on availability : – Number of servers: lost due to these errors – Zone ’ s availability: probability of resolving a name • Impact on performance : – Total time to resolve a query • Starting from the query issuing time • Finishing at the query final answer time

  15. Measurement Methodology • Error frequency and availability impact: – 3 sets of active measurements • Random set of 50K zones • 20K zones that allow zone transfers • 500 popular zones • Performance impact: – 2 sets of passive measurements:1-week DNS packet traces

  16. Lame Delegation foo.com. NS A.foo.com. foo.com. NS B.foo.com. com A.foo.com. A 1.1.1.1 B.foo.com. A 2.2.2.2 1) Non-existing server -- 3 seconds perf. penalty foo 2) DNS error code -- 1 RTT perf. penalty 3) Useless referral -- 1 RTT perf. penalty 4) Non-authoritative answer (cached) A.foo.com B.foo.com

  17. Lame Delegation Results

  18. Lame Delegation Results 50% 0.06 sec 3 sec 0.4 sec

  19. Lame Delegation Results • Error Frequency: – 15% of the zones – 8% for the 500 most popular zones – independent of the zone ’ s size, varies a lot per TLD • Impact: – 70% of the zones with errors lose half or more of the authoritative servers – 8% of the queries experience increased response times (up to an order of magnitude) due to lame delegation

  20. Diminished Server Redundancy foo.com. NS A.foo.com. foo.com. NS B.foo.com. com A.foo.com. A 1.1.1.1 B.foo.com. A 2.2.2.2 A) Network level: - belong to the same subnet foo B) Autonomous system level: - belong to the same AS C) Geographic location level: - belong to the same city A.foo.com B.foo.com

  21. Diminished Server Redundancy Results • Error Frequency: – 45% of all zones have all servers in the same /24 subnet – 75% of all zones have servers in the same AS – large & popular zones: better AS and geo diversity • Impact: – less than 99.9 % availability: all servers in the same /24 subnet – more than 99.99 % availability: 3 servers at different ASs or different cities

  22. Cyclic Zone Dependency (1) foo.com. NS A.foo.com. foo.com. NS B.foo.com. com A.foo.com. A 1.1.1.1 B.foo.com. A 2.2.2.2 The A glue RR for B.foo.com missing B.foo.com depends foo on A.foo.com If A.foo.com is unavailable then B.foo.com is too A.foo.com B.foo.com

  23. Cyclic Zone Dependency (2) foo.com. NS A.foo.com. bar.com. NS A.bar.com. foo.com. NS B.bar.com. bar.com. NS B.foo.com. com A.foo.com. A 1.1.1.1 A.bar.com. A 2.2.2.2 If A.foo and A.bar are The combination of foo.com The B servers unavailable, B addr. and bar.com zones is wrongly depend on A servers configured are unresolvable foo bar The foo.com zone seems correctly configured B.bar.com A.foo.com B.foo.com A.bar.com

  24. Cyclic Zone Dependency Results • Error Frequency: – 2% of the zones – None of the 500 most popular zones • Impact: – 90% of the zones with cyclic dependency errors lose 25% (or even more) of their servers – 2 or 4 zones are involved in most errors

  25. Discussion: User-Perceived != System Robustness • User-perceived robustness: – Data replication: only one server is needed – Data caching: temporary masks infrastructure failures – Popular zones: fewer configuration errors • System robustness: – Fewer available servers: due to inconsistency errors – Fewer redundant servers: due to dependency errors

  26. Discussion: Why so many errors? • Superficially : are due to operators: – Unaware of these errors – Lack of coordination • parent-child zone, secondary servers hosting • Fundamentally : are due to protocol design : – Lack of mechanisms to handle these errors • proactively or reactively – Design choices that embrace some of them: • Name-servers are recognized with names • Glue NS & A records necessary to set up the DNS tree

  27. Summary • DNS operational errors are widespread • DNS operational errors affect availability: – 50% of the servers lost – less than 99.9% availability • DNS operational errors affect performance: – 1 or even 2 orders of magnitude • DNS system robustness lower than user perception – Due to protocol design, not just due to operator errors

  28. Ongoing Work • Reactive mechanisms: – DNS Troubleshooting [ NetTs 04 ] • Proactive mechanisms: – Enhancing DNS replication & caching

  29. Thank You!!!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend