The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain...

18
The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 License.
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    223
  • download

    0

Transcript of The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain...

Page 1: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

The domain name system (DNS)

Skills: none

IT concepts: domain, domain name, host, IP address, domain registrar

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Page 2: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

The domain name system (DNS) in context

• Internet concepts– Applications– Technology (TCP/IP)– Implications for

• Individuals• Organizations• Society

• Internet skills– Application development– Content creation

• Text• Images• Audio• Video

Page 3: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Domain names

We refer to computers on the Internet (Internet hosts), by names like:

bpastudio.csudh.edu

These are called domain names or, if you want to be really geeky, “fully qualified domain names.”

The key point is that the name identifies a particular computer – no two hosts have the same domain name.

Page 4: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

The parts of a domain name

The particular host is called bpastudio

The organization that controls it is called csudh

This host is at an educational organization

bpastudio.csudh.edu

A domain is a group of related hosts.

Page 5: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

How are these hosts related?

• bpastudio.csudh.edu• www.ucla.edu• sws.csudh.edu• chemistry.stanford.edu

They all belong to educational institutions.

They are members of the edu top-level domain (TLD).

Page 6: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

How are these hosts related?

• bpastudio.csudh.edu

• www.csudh.edu

• sws.csudh.edu

• chemistry.csudh.edu

They all belong to the same organization, CSUDH.

They are members of the csudh.edu second-level domain.

Page 7: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

A unique host

bpastudio.csudh.edu

This is the domain name of a unique host. It is a member of the csudh.edu domain, but it is the only one with the name bpastudio.

It is like a family – all the brothers and sisters have the same last name, but it would be confusing if two of them also had the same first name.

Page 8: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

There are a limited number of top-level domains (TLDs), including:

• .edu, educational• .com, commercial• .gov, government• .org, non profit• .net, networking organizations

These are called “generic” TLDs.

Page 9: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

There are also country code top-level domain names for every nation, like:

• .us, United States• .mx, Mexico• .cl, Chile• .uk, United Kingdom• .tv, Tuvalu

These are called “country code” top-level domains (ccTLDs).

The organization or host do not necessarily have to be in the country to register the name. For example, .tv is popular everywhere.

Page 10: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Some TLDs use a four-level hierarchy

• http://www.google.co.uk/

• http://www.unam.edu.mx/

• http://www.ox.ac.uk/

• http://www.google.com.mx/

Page 11: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Registrars sell domain names

• For most generic TLDs there are many registrars and a competitive registration market place: – http://www.icann.org/en/registrars/accredited-l

ist.html• The registrar for .edu is a professional society

called Educause:– http://net.educause.edu/edudomain/

• List of organizations responsible for registrars in the country code domains:– http://www.iana.org/domains/root/db/#

Page 12: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Regstering a domain – check for availability

Page 13: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Larrypress.com was taken, but these are available and for sale

Page 14: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Getting a name and IP address at CSUDH

• A computer center staff person assigns them.

• No two IP addresses or domain names can be the same.

• The staff person updates the table of domain names and IP addresses stored on the CSUDH domain name server.

Page 15: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Some hosts in the csudh.edu domain

Domain name IP address

sws.csudh.edu 155.135.1.163

ctl.csudh.edu 155.135.1.166

email.csudh.edu 155.135.1.180

ns1.csudh.edu 155.135.55.2

vaquero.csudh.edu 155.135.55.6

toro3.csudh.edu 155.135.55.8

music1.csudh.edu 155.135.55.11

home.muphiepsilon.org 155.135.55.13

library.csudh.edu 155.135.55.17

We are letting muphiepsilon.org use a computer on our campus.

Page 16: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Some hosts in the csudh.edu domain

Domain name IP address

sws.csudh.edu 155.135.1.163

ctl.csudh.edu 155.135.1.166

email.csudh.edu 155.135.1.180

ns1.csudh.edu 155.135.55.2

vaquero.csudh.edu 155.135.55.6

toro3.csudh.edu 155.135.55.8

music1.csudh.edu 155.135.55.11

home.muphiepsilon.org 155.135.55.13

library.csudh.edu 155.135.55.17

Every domain has a domain name server (DNS). Our DNS is ns1.csudh.edu. It does the IP address lookups for TCP..

Page 17: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

DNS search

• If your DNS knows the IP address it returns it.• Otherwise it will contact another DNS to get the

result.• Etc. until it is found or determined that it does

not exist, in which case an error message is returned.

Page 18: The domain name system (DNS) Skills: none IT concepts: domain, domain name, host, IP address, domain registrar This work is licensed under a Creative Commons.

Food for thought

• Is the <your name>.com domain name available?

• When you try to go to http://www.google.xom, you get an error message, but http://www.gooogle.com takes you to Google. Why?

• http://wwww.google.com also returns an error message. Why?