a looking glass for dns measurement - caida › workshops › aims › 1602 › slides › ... ·...

12
A Looking Glass for DNS Measurement Casey Deccio, Verisign Labs AIMS 2016 Feb 11, 2016

Upload: others

Post on 28-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

A Looking Glass for DNS MeasurementCasey Deccio, Verisign LabsAIMS 2016Feb 11, 2016

Page 2: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

DNS Name Resolution

.

com

example.com stub resolver recursiveresolver

authoritative servers

Answer: 192.0.2.16

2

Query: www.example.com/A ?

Page 3: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

The Path Between Stub and Authoritative

•  Unknowns•  Recursive resolver(s)•  Authoritative servers•  Anycast instances•  IPv4/IPv6 Network paths

•  Perspective capabilities•  TCP/UDP connectivity, latency•  TLS/DTLS•  EDNS: version, options, flags•  DNSSEC records•  Large packets•  Record types

3

example.com ?stub resolver

authoritative servers

Page 4: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

Measuring from Other Vantage Points

•  Platforms•  CAIDA ARK•  RIPE Atlas•  NLNOG Ring

•  Considerations•  Access – full shell vs. API•  Tests – canned vs. custom•  Availability of probes

•  Number•  Location

•  Synchronous vs. asynchronous execution

•  Sequential progressive diagnostics

4

Page 5: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

DNS Looking Glass – Desired Capabilities

•  Request components•  Message (or optionally,

parameters)•  Destination IP•  Destination port•  Source IP (optional)•  Source port (optional)•  Transport protocol (TCP/UDP)•  Timeout value

•  Response components•  Message (if no error)•  Error (timeout or network

error)•  Error description (errno)•  Source IP•  Source port•  Time elapsed

5

Page 6: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

DNS Looking Glass – Desired Capabilities (2)

•  Security•  Loopback/local queries•  Resource usage•  Number of simultaneous

queries•  Authentication•  Privileges/access control•  Privacy/encryption

•  Other•  Ease of deployment•  Accessibility (IPs, ports,

protocol)•  Synchronous execution, for

diagnostics•  Support for multiple queries

per request•  Parallel execution

6

Page 7: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

DNSViz Looking Glass Implementation

•  Encapsulation•  JSON

•  Transports•  HTTP (to CGI script)•  WebSocket (to Java Applet in Web browser)

7

DNSViz Engine

Page 8: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

Example: dnsviz probe

•  Specify DNS looking glass URL on command line.•  Diagnostic queries are issued through looking glass (CGI script accessible over HTTP POST).

8

.

com

example.com

example.com.json

Diagnostic queries Serialized online analysis (JSON)

$ dnsprobe -u http://my-dns-lg-example.com/dnsviz-lg.cgi \ example.com > example.com.json

Page 9: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

Example: DNSViz Web Interface

•  Indicate client-side analysis

9

.

com

example.com

Diagnostic queries

DNSViz server

DNS LG over WebSocket

Web interface over HTTP

Page 10: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

DNS Looking Glass over HTTP - Benefits

•  Relatively easy to deploy (CGI script).•  Uses sane security defaults.•  Flexible.•  Uses synchronous execution for sequential progressive diagnostics.

•  Paradigm can be applied to other measurement models.•  Framework can be used for periodic automated measurement or on-demand measurement.

•  Client-side diagnostics can be run in Web browser, without need for installation of custom software.

10

Page 11: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

Verisign Public

Summary

•  DNS name resolution paths can be diverse.•  A multi-perspective analysis can help understand general resolver experience.

•  A flexible DNS looking glass platform facilitates measurement from diverse vantage points.

•  A DNS looking glass is implemented and available in the latest release of DNSViz.

•  https://github.com/dnsviz/dnsviz

11

Page 12: A Looking Glass for DNS Measurement - CAIDA › workshops › aims › 1602 › slides › ... · Verisign Public DNS Looking Glass over HTTP - Benefits • Relatively easy to deploy

© 2014 VeriSign, Inc. All rights reserved. VERISIGN and other trademarks, service marks, and designs are registered or unregistered trademarks of VeriSign, Inc. and its subsidiaries in the United States and in foreign countries. All other trademarks are property of their respective owners.