3. DNS(Domain Name
System)Introduction:
If you've ever used the Internet, it's a good bet that
you've used the Domain Name System, or DNS, even
without realizing it.
People prefer to use easy to remember names
instead of IP addresses.
Domain names are alphanumeric names for IP
addresses.
e.g., kr.yahoo.com, postech.ac.kr, ietf.org
4. DNS
DIFINATION:
DNS is a protocol within the set of standards for how
computers exchange data on the Internet and on
many private networks, known as the TCP/IP
protocol suite.
OR:
The domain name system (DNS) is an Internet-wide
distributed database that translates between domain
names and IP addresses.
5. DNS
Resolver and Name Server:
An application program on a host accesses
the domain system through a DNS client,
called the Resolver.
Resolver contacts DNS Server, called name
server.
DNS server returns IP address to resolver
which passes the IP address to application.
Client Resolver DNS Server
1. Host name(google) 2. Host name(google)
3. IP(66.249.91.103)4. IP(66.249.91.103)
6. DNS
Domainnames:
If we had to remember the IP
addresses of all our favorite Web
sites we'd probably go nuts!
You probably have hundreds
of domain names stored in your
head, such as:
howstuffworks.com -- our favorite domain name
google.com -- one of the most used domain names in the world
mit.edu -- a popular EDU name
bbc.co.uk -- a three-part domain name using the country code
UK.
7. DNS
Domainname space:
The naming system on which DNS is based is a
hierarchical and logical tree structure called the
domain namespace.
10. DNS
Some DNS Top-level DomainNames (TLDs)
DNS Domain Name Type of Organization
com Commercial organizations
edu Educational institutions
org Non-profit organizations
net
Networks (the backbone of the
Internet)
gov
Non-military government
organizations
mil Military government organizations
“xx”
Two-letter country code (i.e. us,
au, ca, fr)
11. DNS
Querying the Database:
DNS queries can be sent from a DNS client (resolver) to a DNS
server, or between two DNS servers.
There are two types of DNS queries that may be sent to a DNS
server:
Recursive
Iterative
A recursive query forces a DNS server to respond to a request
with either a failure or a successful response. DNS clients
(resolvers) typically make recursive queries. With a recursive
query, the DNS server must contact any other DNS servers it
needs to resolve the request.
An iterative query is one in which the DNS server is expected to
respond with the best local information it has, based on what
the DNS server knows from local zone files or from caching.
13. DNS
HOWIT WORKS:
Client wants IP for www.GOOGLE.com; At
first, client queries a root server to find com
DNS server.
Then, client queries com DNS server to get
GOOGLE.com DNS server.
Thirdly, Client queries amazon.com DNS
server to get IP address for
www.GOOGLE.com.
15. DNS
The Local DNS asks a root name server, for
google’s address:
Client
Local DNS
m.root-server
What is the IP address of
google.com?
16. DNS
The root server m refers local DNS to the COM name servers.
This type of response is called a “referral”.
Client
Local DNS
m.root-server
Here’s a list of the COM name servers.
Ask one of them.
17. DNS
The local DNS asks a COM name server, f, for
www.google.com.
Client
Local DNS
m.root-server
.com-server
What is the IP address of
www.google.com?
18. DNS
The COM name sever f refers Local DNS to
the google.com name servers.
Client
Local DNS
m.root-server
Here’s a list of the google.com
name servers.
Ask one of them.
.com-server
19. DNS
The local DNS asks an google.com name sever,
google.com for www.google.com’s address.
Client
Local DNS
m.root-server
.com-server
Google.com-
server
What is the IP address of
www.google.com?
20. DNS
The google.com-server responds with
www.google.com’s address.
Client
Local DNS
m.root-server
.com-server
Google.com-
server
Here’s the IP address for
www.google.com
(66.249.91.103)
21. DNS
After the previous query, the Local DNS now knows:
The names and IP addresses of the .com name
servers.
The names and IP addresses of the google.com
name servers.
The IP address of www.google.com.
Client
Local DNS
Google.com-
server
Here’s the IP address for
www.google.com
(66.249.91.103)
23. IRC (INTERNET RELAY CHAT)
Introduction:
IRC is an application layer protocol that facilitates
communication in the form of text. The chat process
works on a client/server networking model. IRC
clients are computer programs that a user can install
on their system. These clients communicate with chat
servers to transfer messages to other clients.
IRC is mainly designed for group communication in
discussion forums, called channels, but also allows
one-on-one communication via private messages as
well as chat and data transfer, including file sharing.
24. IRC
Definition:
“IRC (Internet Relay Chat) allows many users on
different systems at different locations to converge
into one "room" and have a discussion, similar to a
conference call or party line. IRC is used both for
entertainment and serious discussion purposes.”
OR:
“Internet Relay Chat (IRC) is a standard for exchanging
text messages in real time over the Internet.”
25. IRC
HISTORY OF IRC :
Jarkko Oikarin decided to develop a multi-user chat
system where people convene on ‘channels’ to talk
in groups or privately .
Birthday of Irc : summer of 1998
First IRC server : olsun.oulu.fin
Spread around Scandinavia
Spread across the internet
August 1990 : ‘Efnet’ was formed after a big
disagreement among programmers
1991 : The Persian Gulf War ==> International fame
26. IRC
December 1992 : ‘The Undernet’ was born
Summer 1994 : Dalvenjah formed ‘Dalnet’
‘The great split’
‘Ircnet-servers’ : mostly in Europe
‘Efnet-servers : mostly in the US
Still a lot of new initiatives to improve and
develop the internet realy chat.
27. IRC
The first IRC server, tolsun.oulu.fi, a Sun-3 server on
display near the University of Oulu computer centre.
(2001)
29. IRC
The advantages of IRC:
1. A friend of mine chats everyday via ICQ.
He chats on average 3 hours a week and
started chatting two years ago.
The reason why he chats is very functional.
He’s girlfriend lives in Spain; the telephone
costs a lot of money and in this way they can
talk to each other and say a lot of things
without a very high telephone bill. The
advantage of chatting in this example
doesn’t need any explanation.
30. IRC
2. Chatting can mean sharing ideas and information
with other people known or unknown.
3. It can be a global conferencing room
4. It’s like going to a pub and meeting people, but
then from all over the world
5. You can meet people in real live, you met before
on a chatbox. Maybe it will turn out in a wild love
affair ;)
6. It’s pretty cheap, the price of a local call. Makes
long distance communication more attractive.
31. IRC
6. It’s cheap, the price of a local call. Makes long
distance communication more attractive.
7. A lot is left up to imagination.
8. An Irc-client can be downloaded for free.
9. You get real time response.
10. There are a lot of channels and topics to choose
from.
32. IRC
The disadvantages of IRC:
1. It takes a lot of time. Or like they say time flies ,
when you are chatting
2. People can get addicted to it , and so the
telephone bill can get expensive
3. It’s asocial. No real face-to-face contact.
4. It isn’t easy to regulate , so can be abused.
5. Maybe the other person you really like on the
chatbox , has got a totally different identity in real
life .
6. Most people use it for fun , no really qualitative
information can be gathered from the chatbox.