0% found this document useful (0 votes)
69 views

Computer Networks

The document discusses domain name systems (DNS), which map host names and email addresses to IP addresses. DNS has a hierarchical structure with top-level domains like .com, .edu, etc. and subdomains below them. Resource records in DNS databases contain information like IP addresses, mail servers, and name servers mapped to domain names. When a resolver requests a domain name, DNS returns the associated resource records. DNS servers cache query results based on the time-to-live (TTL) field to improve performance.

Uploaded by

23wings
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views

Computer Networks

The document discusses domain name systems (DNS), which map host names and email addresses to IP addresses. DNS has a hierarchical structure with top-level domains like .com, .edu, etc. and subdomains below them. Resource records in DNS databases contain information like IP addresses, mail servers, and name servers mapped to domain names. When a resolver requests a domain name, DNS returns the associated resource records. DNS servers cache query results based on the time-to-live (TTL) field to improve performance.

Uploaded by

23wings
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Computer Networks Prof.

Hema A Murthy

Firewalls
Application
gateway

Packet filtering Packet filter routing


router

Inside LAN Outside LAN

Check outgoing packets Check incoming packets

a can send to b only via application Gateway.


Example: e-mail can decide what to do
Indian Institute of Technology Madras
Computer Networks Prof. Hema A Murthy

Domain Name Systems


•Originally hosts text fetched by all machines at night
•Exploding Internet
•Impractical

•Hierarchical domain based naming scheme


•distributed DBMS for implementing the same
- Map host names and e-mail destination to IP addresses
resolver
IP address
UDP packets
DNS server

Now application makes TCP connections to the IP address


Indian Institute of Technology Madras
Computer Networks Prof. Hema A Murthy

Domain Name System Hierarchy

com edu gov mil org net jp as in

acm icm ac ernet res

iitm iitm imsc tenet

Indian Institute of Technology Madras


Computer Networks Prof. Hema A Murthy

Domain Name System (contd.)


•Insertion into the tree
•Example: Insert peacock into iitm.ac.in
•Permission from admin at iitm.ac.in
•Database in the form of resource records for each host/domain
• When a resolver gives a domain name to DNS,
•It gets back resource records associated with that name
•Domain name case insensitive

•Component can be upto 63 characters long


• hiphens allowed
• * # ? …… not allowed

Indian Institute of Technology Madras


Computer Networks Prof. Hema A Murthy

Resource record is a five type:


Domain name TTL Type Class Value

Domain to which In ASCII, number/


Stability of
record applies a domain name
record
Internal
SOA – Primary source of information above NSs zone
A – IP address
MX – Name of domain prepared to accept email for
specified domain
NS – Name server for this domain
CNAME – Aliases for a name: cs.iitm & iitm same domain
Indian Institute of Technology Madras
Computer Networks Prof. Hema A Murthy

Domain Name System (contd.)


Resource record is a five type:
Domain name TTL Type Class Value

Domain to which Stability of In ASCII, number/


record applies a domain name
record
Internal

SOA – Primary source of information about NSs zone


A – IP address
MX – Name of domain prepared to accept email for
specified domain
Indian Institute of Technology Madras
Computer Networks Prof. Hema A Murthy

Domain Name System (contd.)


NS – Name server for this domain
CNAME – Aliases for a name: cs.iitm & iitm same domain
PTR – Alias for IP address
MINFO – Pentium III, unix
Mtech 2k.com 86400 IN MX peacock.iitm.ernet.in
Entry in the com dB
Arrangement with peacock to collect mail delivered to
Mteck2k.com
Send mail for Mtech2k.com to peacock.iitm.ernet.in
Dial up and collect mail
Indian Institute of Technology Madras
Computer Networks Prof. Hema A Murthy

Domain Name System (contd)

int edu
com

iitm
sun
aero
eng
cs

speech donlab

Each zone contains some part of the tree and authoritative name
server for that zone
Indian Institute of Technology Madras
Computer Networks Prof. Hema A Murthy

Domain Name System (contd.)

To reach hamsadwani.iisc.ac.in

Lantana.tenet. tenet.res.in ac.in iisc.ac.in


res.in

Recursive query
- Results obtained are cached for the future
- The reason why TTL field is used

Indian Institute of Technology Madras

You might also like