980 likes | 995 Views
Discover the intricacies of DNS and email protocols in computer networks, including domain name systems, resolution processes, SMTP, and FTP. Dive into header formats, user agents, MIME, and file transfer connections. Gain insights into name spaces, zones, hierarchy of name servers, and email delivery. Unveil the workings of recursive and iterative resolution, mapping names to addresses, and using TCP connections for FTP. Enhance your understanding of how these application layer protocols facilitate efficient communication over the internet.
E N D
CS 1302Computer Networks— Unit - 5 —— Application Layer — • Text Book Behrouz .A. Forouzan, “Data communication and Networking”, Tata McGrawHill, 2004 Unit-5 : Application Layer
DomainName System Unit-5 : Application Layer
25.1 Name Space Flat Name Space Hierarchical Name Space Unit-5 : Application Layer
25.2 Domain Name Space Label Domain Name Unit-5 : Application Layer
Figure 25.1Domain name space Unit-5 : Application Layer
Figure 25.2Domain names and labels Unit-5 : Application Layer
25.6 DNS Messages Header Question Section Answer Section Authoritative Section Additional Information Section Unit-5 : Application Layer
Figure 25.3FQDN and PQDN Unit-5 : Application Layer
Figure 25.4Domains Unit-5 : Application Layer
25.3 Distribution of Name Spaces Hierarchy of Name Servers Zone Root Server Primary and Secondary Servers Unit-5 : Application Layer
Figure 25.5Hierarchy of name servers Unit-5 : Application Layer
Figure 25.6Zones and domains Unit-5 : Application Layer
Note: A primary server loads all information from the disk file; the secondary server loads all information from the primary server. Unit-5 : Application Layer
25.4 DNS In The Internet Generic Domain Country Domain Inverse Domain Unit-5 : Application Layer
Figure 25.7DNS in the Internet Unit-5 : Application Layer
Figure 25.8Generic domains Unit-5 : Application Layer
Table 25.1 Generic domain labels Unit-5 : Application Layer
Table 25.2 New generic domain labels Unit-5 : Application Layer
Figure 25.9Country domains Unit-5 : Application Layer
Figure 25.10Inverse domain Unit-5 : Application Layer
25.5 Resolution Resolver Mapping Names to Addresses Mapping Addresses to Names Recursive Resolution Iterative Resolution Caching Unit-5 : Application Layer
Figure 25.11Recursive resolution Unit-5 : Application Layer
Figure 25.12Iterative resolution Unit-5 : Application Layer
Figure 25.13Query and response messages Unit-5 : Application Layer
Figure 25.14Header format Unit-5 : Application Layer
Note: DNS can use the services of UDP or TCP, using the well-known port 53. Unit-5 : Application Layer
SMTPandFTP Unit-5 : Application Layer
26.1 Electronic Mail Sending/Receiving Mail Addresses User Agent MIME Mail Transfer Agent Mail Access Protocols Unit-5 : Application Layer
Figure 26.1Format of an email Unit-5 : Application Layer
Figure 26.2Email address Unit-5 : Application Layer
Figure 26.3User agent Unit-5 : Application Layer
Note: Some examples of command-driven user agents are mail, pine, and elm. Unit-5 : Application Layer
Note: Some examples of GUI-based user agents are Eudora, Outlook, and Netscape. Unit-5 : Application Layer
Figure 26.4MIME Unit-5 : Application Layer
Figure 26.5MIME header Unit-5 : Application Layer
Table 26.1 Data types and subtypes in MIME Unit-5 : Application Layer
Table 26.2 Content-transfer encoding Unit-5 : Application Layer
Figure 26. 6Base64 Unit-5 : Application Layer
Table 26.3 Base64 encoding table Unit-5 : Application Layer
Figure 26.7Quoted-printable Unit-5 : Application Layer
Figure 26.8MTA client and server Unit-5 : Application Layer
Figure 26.9Commands and responses Unit-5 : Application Layer
Figure 26.10Email delivery Unit-5 : Application Layer
Figure 26.11POP3 Unit-5 : Application Layer
26.2 File Transfer Connections Communication File Transfer User Interface Anonymous Unit-5 : Application Layer
Note: FTP uses the services of TCP. It needs two TCP connections. The well-known port 21 is used for the control connection, and the well-known port 20 is used for the data connection. Unit-5 : Application Layer
Figure 26.12FTP Unit-5 : Application Layer
Figure 26.13Using the control connection Unit-5 : Application Layer
Figure 26.14Using the data connection Unit-5 : Application Layer
Figure 26.15File transfer Unit-5 : Application Layer