ELECTRONIC MAIL ELECTRONIC MAIL One of the most popular Internet services is electronic mail One of the most popular Internet services is electronic mail (e-mail). The designers of the Internet probably never (e-mail). The designers of the Internet probably never imagined the popularity of this application program. Its imagined the popularity of this application program. Its architecture consists of several components that we discuss architecture consists of several components that we discuss in this chapter. in this chapter.
Figure 26.6 First scenario in electronic mail
When the sender and the receiver of an e-mail are on the same system, we need only two user agents. Note
Figure 26.7 Second scenario in electronic mail
When the sender and the receiver of an e-mail are on different systems, we need two UAs and a pair of MTAs (client and server). Note
Figure 26.8 Third scenario in electronic mail
When the sender is connected to the mail server via a LAN or a WAN, we need two UAs and two pairs of MTAs (client and server). Note
Figure 26.9 Fourth scenario in electronic mail
Figure 26.10 Push versus pull in electronic email
When both sender and receiver are connected to the mail server via a LAN or a WAN, we need two UAs, two pairs of MTAs and a pair of MAAs. This is the most common situation today. Note
Figure 26.11 Services of user agent
Some examples of command-driven user agents are mail, pine, and elm. Note
Some examples of GUI-based user agents are Eudora, Outlook, and Netscape. Note
Figure 26.12 Format of an e-mail
Figure 26.13 E-mail address
Figure 26.17 Commands and responses
Protocols used in Email Message Transfer Agent: SMTP
Figure 26.18 Command format
Table 26.7 SMTP Commands
NAME SPACE NAME SPACE To be unambiguous, the names assigned to machines To be unambiguous, the names assigned to machines must be carefully selected from a name space with must be carefully selected from a name space with complete control over the binding between the names complete control over the binding between the names and IP addresses. and IP addresses.
DOMAIN NAME SPACE DOMAIN NAME SPACE To have a hierarchical name space, a domain name To have a hierarchical name space, a domain name space was designed. In this design the names are space was designed. In this design the names are defined in an inverted-tree structure with the root at defined in an inverted-tree structure with the root at the top. The tree can have only 128 levels: level 0 the top. The tree can have only 128 levels: level 0 (root) to level 127. (root) to level 127.
Figure 25.2 Domain name space
Figure 25.3 Domain names and labels
Figure 25.4 FQDN and PQDN
Figure 25.5 Domains
DISTRIBUTION OF NAME SPACE DISTRIBUTION OF NAME SPACE The information contained in the domain name space The information contained in the domain name space must be stored. However, it is very inefficient and also must be stored. However, it is very inefficient and also unreliable to have just one computer store such a huge unreliable to have just one computer store such a huge amount of information. In this section, we discuss the amount of information. In this section, we discuss the distribution of the domain name space. distribution of the domain name space.
Hierarchy of name servers
Zones and domains
A primary server loads all information from the disk file; the secondary server loads all information from the primary server. When the secondary downloads information from the primary, it is called zone transfer. Note
DNS IN THE INTERNET DNS IN THE INTERNET DNS is a protocol that can be used in different DNS is a protocol that can be used in different platforms. In the Internet, the domain name space platforms. In the Internet, the domain name space (tree) is divided into three different sections: generic (tree) is divided into three different sections: generic domains, country domains, and the inverse domain. domains, country domains, and the inverse domain.
DNS IN THE INTERNET
Generic domains
Table 25.1 Generic domain labels
Figure 25.10 Country domains
Figure 25.11 Inverse domain
RESOLUTION RESOLUTION Mapping a name to an address or an address to a Mapping a name to an address or an address to a name is called name-address resolution. name is called name-address resolution.

email and dns.. in computer networks ppt

  • 1.
    ELECTRONIC MAIL ELECTRONIC MAIL Oneof the most popular Internet services is electronic mail One of the most popular Internet services is electronic mail (e-mail). The designers of the Internet probably never (e-mail). The designers of the Internet probably never imagined the popularity of this application program. Its imagined the popularity of this application program. Its architecture consists of several components that we discuss architecture consists of several components that we discuss in this chapter. in this chapter.
  • 2.
    Figure 26.6 Firstscenario in electronic mail
  • 3.
    When the senderand the receiver of an e-mail are on the same system, we need only two user agents. Note
  • 4.
    Figure 26.7 Secondscenario in electronic mail
  • 5.
    When the senderand the receiver of an e-mail are on different systems, we need two UAs and a pair of MTAs (client and server). Note
  • 6.
    Figure 26.8 Thirdscenario in electronic mail
  • 7.
    When the senderis connected to the mail server via a LAN or a WAN, we need two UAs and two pairs of MTAs (client and server). Note
  • 8.
    Figure 26.9 Fourthscenario in electronic mail
  • 9.
    Figure 26.10 Pushversus pull in electronic email
  • 10.
    When both senderand receiver are connected to the mail server via a LAN or a WAN, we need two UAs, two pairs of MTAs and a pair of MAAs. This is the most common situation today. Note
  • 11.
    Figure 26.11 Servicesof user agent
  • 12.
    Some examples ofcommand-driven user agents are mail, pine, and elm. Note
  • 13.
    Some examples ofGUI-based user agents are Eudora, Outlook, and Netscape. Note
  • 14.
    Figure 26.12 Formatof an e-mail
  • 15.
  • 16.
    Figure 26.17 Commandsand responses
  • 17.
    Protocols used inEmail Message Transfer Agent: SMTP
  • 18.
  • 19.
  • 20.
    NAME SPACE NAME SPACE Tobe unambiguous, the names assigned to machines To be unambiguous, the names assigned to machines must be carefully selected from a name space with must be carefully selected from a name space with complete control over the binding between the names complete control over the binding between the names and IP addresses. and IP addresses.
  • 21.
    DOMAIN NAME SPACE DOMAINNAME SPACE To have a hierarchical name space, a domain name To have a hierarchical name space, a domain name space was designed. In this design the names are space was designed. In this design the names are defined in an inverted-tree structure with the root at defined in an inverted-tree structure with the root at the top. The tree can have only 128 levels: level 0 the top. The tree can have only 128 levels: level 0 (root) to level 127. (root) to level 127.
  • 22.
  • 23.
    Figure 25.3 Domainnames and labels
  • 24.
  • 25.
  • 26.
    DISTRIBUTION OF NAMESPACE DISTRIBUTION OF NAME SPACE The information contained in the domain name space The information contained in the domain name space must be stored. However, it is very inefficient and also must be stored. However, it is very inefficient and also unreliable to have just one computer store such a huge unreliable to have just one computer store such a huge amount of information. In this section, we discuss the amount of information. In this section, we discuss the distribution of the domain name space. distribution of the domain name space.
  • 27.
  • 28.
  • 29.
    A primary serverloads all information from the disk file; the secondary server loads all information from the primary server. When the secondary downloads information from the primary, it is called zone transfer. Note
  • 30.
    DNS IN THEINTERNET DNS IN THE INTERNET DNS is a protocol that can be used in different DNS is a protocol that can be used in different platforms. In the Internet, the domain name space platforms. In the Internet, the domain name space (tree) is divided into three different sections: generic (tree) is divided into three different sections: generic domains, country domains, and the inverse domain. domains, country domains, and the inverse domain.
  • 31.
    DNS IN THEINTERNET
  • 32.
  • 33.
    Table 25.1 Genericdomain labels
  • 34.
  • 35.
  • 36.
    RESOLUTION RESOLUTION Mapping a nameto an address or an address to a Mapping a name to an address or an address to a name is called name-address resolution. name is called name-address resolution.