A2.2.2

Describe the function of servers

A server is a computer system, or software running on a computer, that provides data, resources, or services to other computers on a network. The computers…

5 min read1,065 words
  • A server is a computer system, or software running on a computer, that provides data, resources, or services to other computers on a network.
  • The computers requesting these services are called clients.
  • Servers are usually designed for:
    • high reliability
    • fault tolerance
    • strong performance

Domain Name System (DNS) server

  • A DNS server translates a human-readable domain name into its corresponding IP address.
  • Example:
    • www.google.com -> numerical IP address
  • This process is necessary because network devices route packets using IP addresses, not domain names.

DNS lookup process

  1. A user enters a domain name into a browser.
  2. The request is sent to the local DNS server.
  3. The local DNS server checks its cache.
  4. If the address is not in the cache, it queries other DNS servers recursively:
    • root DNS server
    • top-level domain (TLD) server
    • authoritative DNS server
  5. The authoritative DNS server returns the correct IP address.
  6. The local DNS server caches the result for a period of time.
  7. The local DNS server sends the IP address back to the client.
  8. The browser uses the IP address to contact the web server.
  • Why DNS is useful
    • makes domain names easier for humans to use
    • improves speed through caching
    • distributes requests across many DNS servers
    • improves reliability through replication and geographical distribution

Dynamic Host Configuration Protocol (DHCP) server

  • A DHCP server automatically assigns:
    • IP addresses
    • subnet masks
    • default gateways
    • DNS server addresses
  • This allows devices to join a network without manual configuration.

The DORA process

  • Discover
    • the client sends a broadcast to locate available DHCP servers
  • Offer
    • the DHCP server offers an available IP address
  • Request
    • the client requests the offered IP address
  • Acknowledgement
    • the server confirms the address assignment for a lease period
  • Why DHCP is useful
    • reduces manual configuration
    • lowers the chance of configuration errors
    • helps ensure each device receives an unique IP address
    • supports both dynamic and static-style assignment policies

File server

  • A file server stores and manages files for users and devices on a network.
  • It allows multiple users to access shared files such as:
    • documents
    • images
    • videos
    • folders
  • Main functions
    • centralized file storage
    • controlled file access through permissions
    • easier collaboration and sharing
    • backup and redundancy support
  • Reliability and performance
    • file servers often use large storage systems
    • they may use redundancy such as RAID
    • they can support many users accessing files at the same time
  • Practical applications
    • office document sharing
    • school shared drives
    • centralized storage in organizations
  • A print server manages printers on a network.
  • It allows multiple users to send print jobs to shared printers.
  • Main functions
    • queue print jobs
    • manage access to printers
    • connect many users to one or more printers
    • improve efficiency by centralizing printer management
  • Practical applications
    • school computer rooms
    • office shared printers
    • environments with multiple users and limited printing devices

Mail server

  • A mail server handles the sending, receiving, and storage of email.
  • It may act as:
    • a mail transfer agent (MTA)
    • a mail delivery agent (MDA)
    • or both
  • Common protocols
    • SMTP
      • used for sending email
    • POP3
      • used for downloading received email
    • IMAP
      • used for synchronizing email across multiple devices
  • Main functions
    • route outgoing email to the correct destination
    • store incoming email
    • allow users to retrieve messages
    • apply spam filtering and security checks
  • Security features may include:
    • spam filters
    • antivirus scanning
    • sender authentication systems such as:
      • DKIM
      • SPF
      • DMARC

Proxy server

  • A proxy server acts as an intermediary between a client device and the internet.
  • Instead of contacting the destination directly, the client sends the request to the proxy server first.
  • Main functions
    • improve security
    • improve privacy by hiding the client’s IP address
    • filter content and restrict access
    • cache frequently accessed resources
    • monitor and log requests
  • Practical applications
    • organizations blocking unsafe or inappropriate websites
    • schools enforcing internet usage policies
    • reducing bandwidth use through caching
    • increasing privacy for users

Application server

  • An application server provides the environment and services needed for software applications to run over a network.
  • It is different from a file server or web server because it focuses on running application logic.
  • Main functions
    • run application code
    • process business logic
    • connect applications to databases and other services
    • support many users accessing the same application
  • Practical applications
    • school management systems
    • online booking systems
    • enterprise software platforms

Web server

  • A web server stores, processes, and delivers web pages to clients.

  • It usually communicates using:

    • HTTP
    • HTTPS
  • Main functions

    • host website files such as:
      • HTML
      • CSS
      • JavaScript
      • multimedia content
    • receive HTTP requests from browsers
    • return the requested content to the client
    • support secure transmission using SSL/TLS with HTTPS
  • How a web server works

    1. A browser sends an HTTP or HTTPS request.
    2. The web server receives and interprets the request.
    3. The server finds the required files or generates the content dynamically.
    4. The server sends the response back to the browser.
    5. The browser renders the page for the user.
  • Common web servers

    • Apache
    • Nginx
    • IIS

Quick comparison

Server typeMain functionExample of use
DNS serverConverts domain names into IP addressesLooking up www.google.com
DHCP serverAutomatically assigns IP configurationA phone joining Wi-Fi
File serverStores and shares files on a networkShared office documents
Print serverManages shared printers and print jobsSchool printer network
Mail serverSends, receives, and stores emailCorporate email system
Proxy serverActs as an intermediary for filtering, privacy, and cachingSchool web filtering
Application serverRuns networked application logicSchool management system
Web serverHosts and delivers web pagesA company website

Start typing to search all published objectives.