Presentation is loading. Please wait.

Presentation is loading. Please wait.

Daves DNS Show Read at your own risk. Domain Name Service Maps IP addresses to more human readable domain names Every domain name ultimately resolves.

Similar presentations


Presentation on theme: "Daves DNS Show Read at your own risk. Domain Name Service Maps IP addresses to more human readable domain names Every domain name ultimately resolves."— Presentation transcript:

1 Daves DNS Show Read at your own risk

2 Domain Name Service Maps IP addresses to more human readable domain names Every domain name ultimately resolves to an IP address that the IP network can then route correctly for delivery.

3 Domain Names Top Level domain name (also called first level) consists of several hundred –com, edu, gov, etc. Second-level domain name is a huge list –yahoo, google, openwave, etc. There can be up to 127 levels, but in practice only 4 are ever used. –In the example ads.bbc.co.uk, bbc is a third-level domain name Left most term is the hostname

4 whois Database A central database is required to ensure the uniqueness of domain names. The whois database is the master repository for all domain names. The whois database is maintained by Network Solutions Registrars (like your ISP) work with Network Solutions to add/modify/delete entries from the whois database. The contents of the whois database are read twice a day by the DNS database system.

5 DNS is a distributed DB While the whois database is a central repository for all of the domain names, the information about each domain is distributed. Every domain has an associated domain name server (DNS).

6 DNS Resolution example 1.Client makes a request to the primary DNS server to resolve The primary DNS server IP address is configured into the client (the Windows IP stack, for example).www.openwave.com 2.If at any hop, a DNS server has cached an IP value for the queried hostname, it returns it. Lets assume in this cases there are no cached values. 3.The primary DNS server makes a request to the Root Server for Root servers are distributed and know the IP addresses of all the name servers that handle top level (.com,.gov, etc.) domains. The list of all the Root Servers (and their IP addresses) are configured into every DNS server. 4.The Root Server returns the IP address of a DNS server for the particular Top Level domain. In this case it returns the IP address of a DNS server handling the.com Top Level domain. 5.The primary DNS server now queries the.com DNS server for The.com DNS server knows the DNS servers for each of the second level domains, and returns the one for openwave.com. 6.The primary DNS server then makes a request to the DNS server for openwave.com for and gets back the desired IP address.www.openwave.com 7.The primary DNS server returns the IP address for to the client.www.openwave.com

7 ClientPrimaryRoot Top Level.com 2 nd Level openwave.com server openwave.com server

8 Key Attributes of DNS System Redundancy –At any level there are multiple DNS servers Caching –Each DNS server caches the results of a query Time to Live (TTL) –Each DNS result includes a TTL directive to determine how long it should be cached.

9 How are Domains Created? A domain is created via a Registrar and placed into the whois database. The DNS servers for the new domain are also registered. Top Level DNS servers are refreshed 2 times a day, so they pick up the DNS servers for all the second-level domains (yahoo, google, openwave, etc.)

10 DNS Record Types – Address (A) Records Address (A) records A records resolve a hostname to an IP address. The same hostname can resolve to multiple IP addresses (use case: round robin DNS). EXAMPLE : IN A IN A

11 DNS Record Types – CNAME Records Canonical Name (CNAME) records CNAME records allow a machine to be known by more than one hostname. Also knows as an alias. EXAMPLE : inside.openwave.com. IN CNAME

12 DNS Record Types – MX Records Mail Exchange (MX) records MX records specify a host that all mail bound for a domain should be routed to. clients use these records to determine where the mail should be sent. There can be multiple records, and each can specify a priority (lower is higher). EXAMPLE openwave.com. IN MX 10 mail.openwave.com.

13 DNS Record Types – PTR Records Pointer (PTR) records PTR records enable reverse lookups (provide a hostname provided an IP address). EXAMPLE in-addr.arpa. IN PTR

14 DNS Record Types – NS Records Name Server (NS) Records State the authoritative name servers for the domain. EXAMPLE openwave.com. IN NS NS4.OPENWAVE.COM. openwave.com. IN NS NS5.OPENWAVE.COM.

15 DNS Record Types – SOA Records TBD

16 Dynamic DNS There is an extension to DNS that allows a client to update the IP address of a hostname. This is built into routers and there are also software clients. Windows LANs support a flavor of this, when you obtain an IP address via DHCP an entry is added to the DNS server. Good to allow those on DHCP to host servers. Dynamic DNS Service Providers

17 References e55-458d-b5ed-a1ae9e04819e1033.mspx


Download ppt "Daves DNS Show Read at your own risk. Domain Name Service Maps IP addresses to more human readable domain names Every domain name ultimately resolves."

Similar presentations


Ads by Google