Network Technology • Unit 4

URL, E-mail & DNS

URL types, the complete architecture of e-mail delivery, and how the Domain Name System resolves names to addresses — the key comparisons students usually need in exam answers.
NT Unit 4
3 Questions
Contents
01 URL and Its Types 02 Working of E-mail 03 Domain Name Server (DNS) and Architecture
1
Question 1

Explain URL and Its Types

5 Marks

URL (Uniform Resource Locator) is the unique address of a resource available on the Internet. It specifies where a resource is located and which protocol should be used to access it. A URL can be used to locate web pages, files, images, videos, and other resources on the Internet.

https://www.xyzcollege.edu.in/admission/form.html
Components of a URL

Consider the URL above:

ComponentExamplePurpose
ProtocolhttpsSpecifies how communication takes place
Domain Namewww.xyzcollege.edu.inIdentifies the website
Path/admission/Specifies the folder/directory
File Nameform.htmlIdentifies the specific webpage or file
Types of URL

There are two main types of URLs:

1. Absolute URL

An Absolute URL contains the complete address of a web resource, including the protocol, domain name, path, and file name.

Structure:

Protocol + Domain Name + Path + File Name Example: https://www.abccollege.edu.in/students/notes.html

Characteristics:

  • Contains the complete web address.
  • Includes the protocol.
  • Includes the domain name.
  • Can be accessed from anywhere.
  • Independent of the current webpage.

Advantages

  • Easy to share.
  • Always points to the specified resource.
  • Suitable for external links.

Disadvantages

  • Longer to write.
  • More difficult to maintain if the domain changes.
  • Uses more storage when used extensively in large websites.
2. Relative URL

A Relative URL contains only the path or relative location of a resource. It does not contain the protocol or domain name. The browser determines the complete address based on the current webpage.

Example:

Current page: https://www.abccollege.edu.in/students/ Relative URL: notes.html Browser interprets it as: https://www.abccollege.edu.in/students/notes.html

Characteristics:

  • Shorter than an absolute URL.
  • Does not contain the domain name.
  • Depends on the current webpage.
  • Mainly used for links within the same website.

Advantages

  • Easy to write.
  • Easier to maintain.
  • Saves storage space.
  • Convenient for internal website links.

Disadvantages

  • Cannot be used independently.
  • May not work correctly if the base location changes.
  • Not suitable for external websites.
Difference Between Absolute and Relative URL
FeatureAbsolute URLRelative URL
AddressComplete addressPartial address
ProtocolIncludedNot included
Domain nameIncludedNot included
DependencyIndependentDepends on current webpage
LengthLongerShorter
UsageExternal linksInternal website links
Examplehttps://example.com/page.htmlpage.html

Conclusion: A URL provides the address and access method for an Internet resource. The two main types are Absolute URL, which contains the complete address, and Relative URL, which depends on the location of the current webpage.

2
Question 2

Explain the Working of E-mail

5 Marks

E-mail (Electronic Mail) is an electronic communication service used to send and receive digital messages over the Internet. An e-mail can contain text, images, documents, audio, video, and attachments. The complete process of sending an e-mail from a sender to a receiver involves a Mailer (E-mail Client), Mail Server, Internet, Mailbox, and protocols such as SMTP, POP3, and IMAP.

E-mail Architecture
Sender ↓ Mailer / E-mail Client ↓ SMTP Outgoing Mail Server ↓ Internet ↓ Incoming Mail Server ↓ Mailbox ↓ POP3 / IMAP Receiver's Mailer ↓ Receiver
Main Components

1. Sender

The sender is the person who creates and sends the e-mail. The sender provides:

  • Receiver's e-mail address
  • Subject
  • Message
  • Optional attachment

2. Mailer / E-mail Client

A Mailer is software used to compose, send, receive, read, and manage e-mails.

Examples: Gmail, Microsoft Outlook, Mozilla Thunderbird, Apple Mail, Yahoo Mail.

3. Outgoing Mail Server

The Outgoing Mail Server is responsible for sending e-mails from the sender to the appropriate receiving mail server. It uses SMTP (Simple Mail Transfer Protocol).

4. Internet

The Internet provides the communication path through which the e-mail travels from the sender's mail server to the receiver's mail server.

5. Incoming Mail Server

The Incoming Mail Server receives the e-mail and stores it until the receiver accesses it. It commonly uses:

  • POP3
  • IMAP

6. Mailbox

A Mailbox is the storage area on the mail server where a user's received e-mails are stored. Its functions include:

  • Storing incoming e-mails
  • Organizing messages
  • Maintaining folders
  • Keeping messages until deleted
  • Allowing searching and retrieval

7. Receiver

The receiver is the intended person who accesses the mailbox and reads the received e-mail using a mailer.

Working of E-mail
  1. Compose the E-mail: The sender opens an e-mail application such as Gmail or Outlook and enters To, Subject, Message, and an Attachment if required.
  2. Click Send: When the sender clicks Send, the Mailer transfers the e-mail to the sender's outgoing mail server using SMTP (Simple Mail Transfer Protocol).
  3. SMTP Transfers the Mail: The SMTP server checks the sender's address, receiver's address, mail format, and destination server, then transfers the e-mail through the Internet toward the receiver's mail server.
  4. Receiver's Mail Server Receives the E-mail: The receiver's mail server accepts and stores the message. A mail server can receive, store, forward, and manage mailboxes, and perform user authentication.
  5. Mailbox Stores the Message: The incoming mail server stores the received e-mail in the receiver's mailbox, which acts as the storage area for later access.
  6. Receiver Accesses the E-mail: Using POP3 (downloads e-mails to the device) or IMAP (keeps e-mails on the server and synchronizes across devices).
  7. Receiver Reads the Mail: The e-mail is displayed in the receiver's Mailer, and the receiver can read the message and access its attachments.
POP3 vs IMAP in E-mail Architecture
FeaturePOP3IMAP
Full FormPost Office Protocol Version 3Internet Message Access Protocol
Main FunctionDownloads e-mailsAccesses and synchronizes e-mails
StorageMessages are generally downloaded to the deviceMessages remain on the server
Multiple DevicesLess suitableSuitable
SynchronizationLimitedSupports synchronization
InternetCan work offline after downloadRequires Internet for server access
Sender → Mailer → Outgoing Mail Server → SMTP → Internet → Incoming Mail Server → Mailbox → POP3/IMAP → Mailer → Receiver

Conclusion: The Mailer provides the user interface, Mail Servers handle the transfer and storage of messages, the Mailbox stores received messages, and SMTP, POP3, and IMAP manage the transmission and retrieval of e-mails.

3
Question 3

Explain Domain Name Server (DNS) with its Architecture

5 Marks

DNS (Domain Name System) is a system that converts human-readable domain names into IP addresses. For example, users can remember www.google.com instead of an IP address such as 142.250.193.78. DNS therefore acts like the "phone book of the Internet," allowing browsers to locate the correct web server.

DNS Architecture
User / Web Browser | | 1. DNS Request ↓ ┌─────────────┐ │ DNS Server │ └─────────────┘ | | 2. Provides IP Address ↓ ┌─────────────┐ │ Web Server │ └─────────────┘ | | 3. Website Response ↓ User / Web Browser

The user/browser requests a domain such as .com from the DNS server, receives an IP address, and then makes an HTTPS request to the corresponding server.

Main Components of DNS Architecture

User / Web Browser

The user enters a domain name such as www.google.com. The browser needs the corresponding IP address before it can connect to the website.

DNS Server

Receives the domain-name request and finds the corresponding IP address, which is then returned to the browser.

Web Server

After obtaining the IP address, the browser connects to the appropriate web server and requests the required webpage.

Working of DNS
  1. User Enters Domain Name: The user enters www.google.com in the web browser.
  2. Browser Sends DNS Request: The browser sends a request to the DNS server to find the IP address associated with the domain name.
  3. DNS Server Finds IP Address: The DNS server searches for the corresponding IP address (for example, www.google.com → 142.250.193.78).
  4. IP Address is Returned: The DNS server sends the identified IP address back to the browser.
  5. Browser Connects to Web Server: Using the IP address, the browser establishes a connection with the web server.
  6. Website is Accessed: The browser sends an HTTP/HTTPS request to the web server, and the server returns the requested webpage.
Domain Name ↓ DNS Request ↓ DNS Server ↓ IP Address ↓ Web Server ↓ HTTP/HTTPS Response ↓ Webpage displayed

Advantages

  • Easy to remember: Users can use names instead of numerical IP addresses.
  • Faster access: DNS caching can speed up website access.
  • Convenient: Users do not need to remember IP addresses.
  • Supports domain names: Websites can be accessed using human-readable names.

Disadvantages

  • DNS server failure can prevent users from accessing websites.
  • DNS attacks, such as DNS spoofing, can redirect users to fake websites.

Conclusion: DNS is an essential Internet service that translates domain names into IP addresses. Its architecture involves the user/browser, DNS server, and web server. By resolving a domain name into an IP address, DNS enables the browser to locate and communicate with the correct web server.