Skip to main content
Informatik.uz
Chapter 1. Computer networks

IP addresses and domain names

Every network device has an IP address, but people use domain names. You will see how DNS turns a name into an address and how IPv4 differs from IPv6.

Topic 2 of 112 min readUpdated October 27, 2026
All topics (2 of 11)

Just as a letter needs a postal address, every device on a network needs an address of its own. This is the IP address (Internet Protocol address). The most common IPv4 address has four numbers from 0 to 255 separated by dots: 192.168.1.10.

An IPv4 address is 32 bits long, so there are only about 4.3 billion (2^32) of them. When the number of devices exceeded that, the 128-bit IPv6 standard appeared; its addresses are written as groups of hexadecimal digits, for example 2001:db8::1. Home and school networks usually use private addresses (192.168.x.x, 10.x.x.x): they work only inside the local network, and traffic reaches the internet through the router’s shared address.

Numbers are hard to remember, so people use domain names, for example www.informatik.uz. A domain name is read from right to left: first the top-level domain (for example, uz for Uzbekistan, com, org), then the second-level domain (informatik), then the subdomain (www).

To find a website, the browser asks a DNS (Domain Name System) server. DNS turns the domain name into an IP address, which is why it is often called the “phone book” of the internet. Using that address, the browser connects to the server and requests the page.

Key takeaways

  • An IP address identifies a device on a network: IPv4 has 32 bits, IPv6 has 128.
  • An IPv4 address is written as four numbers (0–255) separated by dots.
  • Local networks use private addresses and reach the internet through the router’s shared address.
  • A domain name is convenient for people; DNS turns it into an IP address.

Practice tasks

  1. Run ipconfig on Windows, ip a on Linux or ifconfig on macOS and find your computer’s IPv4 address.
  2. Run nslookup example.com and write the IP addresses from the answer in your notebook; then find the address of another website in the same way.
  3. Decide which of these are valid IPv4 addresses and explain why: 192.168.0.1, 256.10.0.3, 10.0.0, 172.16.254.1.

Review questions

Test yourself: think first, then reveal the answer.

  1. 1Why was the IPv6 standard created?
    There are only about 4.3 billion IPv4 addresses, which is not enough for all devices; IPv6 provides vastly more.
  2. 2What does DNS do?
    It turns a domain name (for example, example.com) into an IP address.
  3. 3Why is each number in an IPv4 address at most 255?
    Each number is stored in 8 bits (1 byte), and 8 bits give 256 values, from 0 to 255.

0 of 11 topics completed

Sign in to mark
Informatika 10-sinf darsligi muqovasi
In the textbookInformatics — Grade 10