A-Level Computer Science / Unit 2: Networks, Connectivity and the Internet

2.1.6 The Internet, WWW and DNS

πŸ”’ Lesson slides are available to signed-in users. Sign in

2.1.6 The Internet, WWW and DNS

When you open a website, two questions must be answered: How can your device reach the Internet? And how can the browser find the website you requested? Different parts of the system answer these questions.

This lesson connects Internet infrastructure to a simple web request. It explains the Internet and the World Wide Web, several ways to get online, and how a URL and DNS work together.

After studying this page, you should be able to

  • explain why the WWW is a service that uses the Internet;
  • describe the roles of an ISP, modem, PSTN, dedicated line and cell phone network;
  • select an access method and explain why it suits a given need;
  • identify the scheme, domain name and path in a URL;
  • describe how DNS provides an IP address so the browser can contact a web server.

1. The Internet is not the World Wide Web

You may use the Internet to open a web page, exchange email or send a game update. The Internet carries all of these kinds of traffic. The WWW is only one way to use this worldwide connection.

Internet: a worldwide collection of separate networks that exchange data using common communication rules.
World Wide Web (WWW): linked web resources that can be requested and displayed using web software, usually a browser.
QuestionInternetWorld Wide Web
What is it?Connected networks and communication links.Web pages and other linked resources, together with the services that deliver them.
What makes it work?Network equipment and protocols move data between locations.Browsers request web resources from web servers over the Internet.
One useDelivering an online game's messages.Viewing a public transport timetable website.

Common mistake

The Internet is not a collection of websites. Websites are part of the Web. The Internet provides the connection that allows web pages and other services to exchange data.

A strong comparison

Explain both terms and their relationship: the Internet transports data between networks; the WWW uses this infrastructure to make linked resources available.

2. How a device reaches the Internet

A computer in a home or organisation normally joins a local network first. Its data then reaches an Internet Service Provider (ISP). The ISP connects that local network to other networks, allowing data to travel towards a distant server.

ISP: an organisation that provides access to the Internet.
Router: a device that forwards packets from one network towards another using destination IP addresses.
User device tablet / laptop Local router or cellular access ISP Internet other networks Web server requested page Different providers and routers may handle a single journey.

This diagram is simplified. The real Internet does not provide one fixed route for every request. Routers make forwarding decisions as packets move through networks. You do not need to learn detailed Internet routing algorithms in this lesson.

3. Modems and telephone infrastructure (PSTN)

A computer uses digital data. A communication line can require a different form of signal. A modem makes data suitable for transmission over that line and recovers the data received from it.

Modem: a device that changes data into signals suitable for a communication connection, and converts received signals back into usable data.
PSTN: Public Switched Telephone Network, the system used for traditional telephone calls.

Traditional dial-up: an example of signal conversion

  1. A computer gives its digital data to a dial-up modem.
  2. The modem represents the data using analogue audio-frequency signals that a traditional telephone line can carry.
  3. The signal passes through the telephone network to a receiving modem.
  4. The receiving modem recovers the digital data.
Digital data β†’ modem β†’ analogue line signal β†’ receiving modem β†’ digital data

Dial-up is mainly useful as an explanation of older Internet access. It was slow, and a traditional line could be occupied during a connection. Later broadband technologies also used telephone infrastructure, but their modems use signalling suited to the broadband service rather than ordinary dial-up audio.

Keep the roles separate

A modem handles the signals on a link. A router selects where IP packets go next. An ISP provides Internet connectivity. Some home devices combine modem and router functions in one box.

4. Dedicated lines: a permanent connection

Imagine a logistics company with a warehouse and an office in different towns. The staff exchange stock updates throughout the working day. The company needs a stable connection between its sites.

Dedicated (leased) line: a communication connection supplied for an organisation's use on a continuing basis, with capacity reserved under the service agreement.
CharacteristicWhy it matters
Always availableStaff do not have to establish a new telephone call before sending data.
Predictable capacityThe organisation can plan for regular traffic between important sites.
Usually higher costThe organisation pays for the reserved service even when it is not fully used.
Still can failDamage to a line can interrupt access; important services may need a backup connection.

Use the requirement in your explanation

The warehouse needs frequent access to the office system. A dedicated line provides a permanent connection with predictable capacity, so stock information can be transferred throughout the day.

5. Cell phone networks: Internet access while moving

A phone does not need to find a Wi-Fi access point to use mobile data. It can communicate by radio with a nearby cellular base station (often called a cell tower). The mobile provider carries the traffic onwards.

Cell phone network: a wireless system divided into coverage areas called cells. Base stations connect mobile devices to the provider's network.
Phone β†’ cell tower β†’ mobile provider β†’ Internet

For example, a travelling maintenance worker can send a repair report from a roadside location without a fixed network cable. However, the transfer may be slow or impossible when the signal is weak or network coverage is unavailable.

BenefitLimitation
Internet access in many places while moving.Quality depends on signal coverage and obstacles.
No fixed data cable is required at the user's location.Users in the same area share available mobile capacity.

Common mistake

A cell phone network is not the same as Wi-Fi. Wi-Fi normally connects a device to a nearby local access point. Cellular data passes through a mobile provider's radio infrastructure.

6. Choosing the appropriate connection

Do not select a connection only because it seems modern or fast. Look for the most important condition in the question: mobility, cost or the need for an ongoing site-to-site link.

SituationRelevant methodReason
A temporary outdoor inspection team is moving between locations.Cellular dataInternet access is possible without a cable to each stop, where coverage exists.
A manufacturing firm must exchange records between two permanent offices.Dedicated lineA continuing connection with agreed capacity supports regular communication.
An older examination describes a computer using an analogue telephone connection.Dial-up modem and PSTNThe modem converts between digital information and the form of signal carried by the line.

Answer structure

Choose a method β†’ name its technical feature β†’ explain why that feature meets the scenario's need.

7. URL: identifying a web resource

A browser needs to know which resource the user wants. A Uniform Resource Locator (URL) provides that information. It may include the communication method, the host name and the location of the requested page or file on that host.

URL: an address that identifies a web resource and gives the information needed to request it.

https://timetable.cedarfield.example/trains/today

URL partExampleFunction
Schemehttps://Indicates the protocol used to request the resource.
Host / domain nametimetable.cedarfield.exampleNames the host that must be reached.
Path/trains/todayIdentifies the requested resource on that host.

A domain name is a readable name for a host or domain. It is convenient for people, but data sent across IP networks must be addressed using IP information. DNS helps provide that information.

Common mistake

The whole URL is not looked up by DNS. DNS is asked about the host name, not the page path. The web server handles the request for the path after the connection is made.

8. DNS: finding an IP address from a name

Domain Name System (DNS): the system used to find information associated with domain names, especially IP addresses.
DNS lookup: a request to find the IP address associated with a host name.

When a student enters a web address, the browser needs to reach the server named by the URL. The operating system or browser may already know its address. If not, it can request the information using DNS.

  1. The user enters a URL in the browser.
  2. The browser identifies the host name in the URL.
  3. If a usable address is not already stored, a DNS query is made.
  4. DNS provides an IP address associated with the host name.
  5. The device can now send a request towards the web server using that address.
  6. The web server supplies the requested resource, and the browser displays it.
Browser / device has a host name DNS returns an IP address Web server returns the page look up name IP address separate request to server DNS does not send the web page: the web server does.

Caching means temporarily keeping an IP address that was found earlier. This can avoid another lookup for the same name until the stored information must be refreshed. For this lesson, focus on the purpose of the lookup; a detailed list of DNS server types is not necessary.

Two different jobs

DNS supplies the address associated with a name. Routers forward packets towards an IP destination. Web servers return the requested web content.

9. Worked example: opening an event timetable

A visitor enters https://timetable.cedarfield.example/trains/today on a phone connected to a local Wi-Fi network.

StageWhat happens
1. ConnectThe phone uses the local network and its Internet access connection.
2. IdentifyThe browser reads the URL and separates the host name from the path.
3. FindDNS provides an IP address for the host if it is not already known.
4. TravelRouters forward the data between networks towards the server.
5. RequestThe browser asks the web server for /trains/today.
6. DisplayThe server returns a response and the browser shows the page.

Answering a 4-mark DNS question

Name the host from the URL; state that a DNS query can be made; explain that DNS returns an IP address; then say the browser can contact the server and request the resource.

Interactive: How do different users reach the Internet?

Choose broadband, a Wi-Fi hotspot or mobile access. Follow where the request goes before it reaches the wider Internet. The optional provider and mesh views show that an Internet request may travel through more than one network.

Access method
View

ISP hierarchy

What is happening?

    User side ISP / provider Router Connection

    Interactive: Follow a DNS name lookup

    Run the lookup and observe how a name can lead to an IP address. Start with the cached answer option, then compare it with a lookup that needs to contact other DNS servers. The detailed server labels are provided to make the visualiser work; the key syllabus idea remains domain name β†’ DNS β†’ IP address.

    portalsubdomain . riverviewdomain . edutop-level domain
    Choose the outcome
    Query sent First DNS server asked first Root server .edu server Authoritative server riverview.edu

    Authoritative answer

      Practice: apply the knowledge

      Core questions

      1. Explain the difference between the Internet and the World Wide Web. [2]
      2. State the purpose of a modem when using a traditional analogue telephone connection. [2]
      3. Explain one reason a firm might choose a dedicated line between its two sites. [2]
      4. Describe the path taken by data when a phone uses a cellular network to reach the Internet. [3]
      5. In the URL https://alerts.southbank.example/notices, identify the host and the path. [2]

      Original exam-style scenario

      A community rowing centre publishes weather notices at https://notices.lakeside.example/weather. Staff in its boathouse have a fixed Internet connection. Coaches travelling to competitions use cellular data.

      1. Explain why the travelling coaches can use mobile data without the boathouse's Wi-Fi. [2]
      2. Describe how DNS helps a coach's browser locate the website. [4]
      3. Explain why the website is part of the WWW rather than the physical Internet infrastructure. [2]
      Reveal suggested marking points (8 marks)

      (a) [2] The device uses radio communication with a nearby cellular base station [1]; the mobile provider supplies the path to the Internet without the centre's local Wi-Fi [1].

      (b) [4] The browser identifies the host name notices.lakeside.example [1]; a DNS query is made if its IP address is not already known [1]; DNS returns an IP address [1]; the browser uses it to contact the server and request the resource [1].

      (c) [2] The site consists of web resources requested through a browser [1]; those resources are delivered using the Internet's connections and networks [1].

      Accept other technically correct explanations. These are original practice points, not official exam marking criteria.

      Review your explanations

      Avoid answers such as β€œDNS connects you” or β€œa modem sends the packets to the right website”. Say which information each system uses and what it does with that information.

      Review: the main distinctions

      TermMain job
      InternetConnects networks and carries data between them.
      WWWOffers linked web resources delivered using the Internet.
      ISPProvides a user or organisation with Internet access.
      ModemAdapts data to the signals required by an access link.
      PSTNTelephone infrastructure used by traditional dial-up access.
      Dedicated lineProvides a permanent communication connection for an organisation.
      Cellular networkLinks mobile devices to a provider through radio base stations.
      URLIdentifies a resource and the information needed to request it.
      DNSProvides IP information associated with a domain name.

      Quick self-check

      1. Can I distinguish Internet infrastructure from a web service?
      2. Can I choose between a dedicated line and mobile access for a reason?
      3. Can I explain the purpose of the modem in an analogue connection?
      4. Can I identify the host name in a URL?
      5. Can I describe DNS, routers and web servers as three different jobs?