+ All Categories
Home > Technology > Intro to DNS

Intro to DNS

Date post: 20-Jan-2017
Category:
Upload: thousandeyes
View: 177 times
Download: 0 times
Share this document with a friend
14
Transcript
Page 1: Intro to DNS
Page 2: Intro to DNS

1

• November 15th 2016• An overview of the Domain Name System, resources,

records, name resolution and name servers.

DNS Webinar Series

• January 17th 2017• An in-depth view on how to monitor and alert on DNS

availability, response time and record mappings.

Intro to DNS

Monitoring DNS Records and Servers

• December 13th 2016• Tips and examples covering DNS hijacking and DDoS

attacks on DNS infrastructure.DNS Security

Page 3: Intro to DNS

2

About ThousandEyesThousandEyes delivers visibility into every network your organization relies on.

Founded by network experts; strong

investor backing

Relied on for critical operations by leading enterprises

Recognized as an innovative

new approach

31 Fortune 5005 top 5 SaaS Companies

4 top 6 US Banks

Page 4: Intro to DNS

3

• The Domain Name System (DNS) is a helper system for IP.• DNS is:• A naming hierarchy for the Internet• A directory service to translate (resolve) these names to IP addresses• A protocol to perform name resolution

• You can think of DNS as a phone book for the Internet, helping you look up IP addresses for a specific name.

The Domain Name System

Page 5: Intro to DNS

4

• Domain names provide flexibility and human readability to the Internet Protocol.

• Domain names used in URLs and email addresses (e.g. www.google.com) are easier for humans to remember than IP addresses.

• In addition, network operators may want to switch IP addresses without having to change the domain name.

• And network operators may want to have multiple IP addresses assigned to a specific domain name to, for example, serve content from multiple locations.

Why DNS Exists

Page 6: Intro to DNS

5

There are many DNS record types that store domain name data. Here are 5 commonly used record types:• A - IPv4 address• AAAA - IPv6 address• MX - Email server• NS - Name server• CNAME – Alias to another

domain nameA DNS record has a Time-to-Live (TTL) that specifies, in seconds, how long it can be cached by a name server. Once it expires, the name server must query for an updated record.

DNS Resources and Records

Page 7: Intro to DNS

6

• Clients use DNS to resolve a domain name to an IP address. Name servers store DNS records and respond to domain name queries.

• Many clients use a recursive name server located in their network to do work on their behalf. If this domain is unknown to the recursive server, it can start at the root. Each name server will provide the most specific answer it can. The recursive server will iterate through the DNS hierarchy of zones to find an authoritative name server that can answer the query.

Name Resolution

Client (aka resolver)

Recursive server(ISP, company, public DNS)

Root servera.root-servers.net

TLD servera.gtld-servers.net

Authoritative serverns2.google.com

Page 8: Intro to DNS

7

• Recursive name servers make recursive queries on behalf of DNS clients. They typically exist within ISPs, enterprise networks and public DNS servers (e.g. Google public DNS 8.8.8.8).

• Many recursive servers only respond to queries from within their own network. Some, called open resolvers, will respond to queries from any source.

• Most recursive servers also cache DNS records, which are valid for the length of the TTL.

Recursive Name Servers

Client (aka resolver)

Recursive server(ISP, company, public DNS)

Root servera.root-servers.net

TLD servera.gtld-servers.net

Authoritative serverns2.google.com

Query: www.google.com

Page 9: Intro to DNS

8

• There are 13 root name servers that sit atop the DNS hierarchy and are hard coded into any application that uses DNS. These root name servers maintain a list of the top-level domain servers (.com, .uk, .net, etc.).

• The answers provided by root and TLD name servers contain the name servers for the next known subdomain.

Root and TLD Name Servers

Client (aka resolver)

Recursive server(ISP, company, public DNS)

Root servera.root-servers.net

TLD servera.gtld-servers.net

Authoritative serverns2.google.com

Query: www.google.comAnswer: a.gtld-servers.net

Query: www.google.comAnswer: ns2.google.com

Page 10: Intro to DNS

9

• Authoritative name servers have authority to answer queries from other name servers or from DNS clients. The DNS records in an authoritative name server are maintained by domain administrator.

• A set of authoritative name servers are assigned for each zone. These may be maintained by the organization itself, or by an external company (UltraDNS, Akamai, Dyn, etc). Many organizations will split name servers between multiple providers for redundancy.

Authoritative Name Servers

Recursive server(ISP, company,

public DNS)

Root servera.root-servers.net

TLD servera.gtld-servers.net

Authoritative serverns2.google.com

Query: www.google.comAnswer: 172.217.2.46

Answer: 172.217.2.46

Page 11: Intro to DNS

10

Why Monitor DNSRecord

MisconfigurationServer or Network

FailureVendor Availability

DNSSEC Expiration Cache PoisoningDDoS Attacks

Page 12: Intro to DNS

11

Monitor App & Network Connectivity AnywhereManaged DNS

Provider

Internet

1 On-Premises DNSLocal caching resolvers and self-hosted DNS

2 Hosted DNS Authoritative, TLD and Root Name Servers

AccessNetworks

Cloud Agents

EnterpriseAgents

Branch

Data Center

Page 13: Intro to DNS

12

• ns• @• +trace • +dnssec• +norec

ThousandEyes Approach to DNS Monitoring

• Authoritative and caching server network

• Routing metrics

DIG-like Features And Correlation • Store, save,

share, baseline, alert

With Analysis

Enterprise

Vendor

Page 14: Intro to DNS

13

See what you’re missing.

Watch the webinar:

https://www.thousandeyes.com/resources/intro-to-dns-webinar


Recommended