---
title: "No More Memorizing IPs: DNS Principle & Workflow Explained"
url: "https://maker.wiznet.io/ruilixin6/projects/no-more-memorizing-ips-dns-principle-workflow-explained/"
markdown_url: "https://maker.wiznet.io/ruilixin6/projects/no-more-memorizing-ips-dns-principle-workflow-explained/md"
type: "UCC: User Created Content"
author: "FreakStudio"
author_url: "https://maker.wiznet.io/ruilixin6/"
original_author: "Freakstudio"
original_url: "https://f1829ryac0m.feishu.cn/drive/folder/Fh5Eftd3WlbEIIdHGdtcSsIgn7c?from=f"
published: "2026-08-23"
language: "en"
tags: ["DNS Domain Name System"]
likes: 0
views: 82
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# No More Memorizing IPs: DNS Principle & Workflow Explained

> It explains DNS domain‑name system fundamentals and resolution workflow.

Original author: Freakstudio (source: https://f1829ryac0m.feishu.cn/drive/folder/Fh5Eftd3WlbEIIdHGdtcSsIgn7c?from=f)

## Article

【Preliminary Note】The original hardware example in this article was written based on the RP2040. The actual hardware used in this hands-on demonstration features the W55RP20 as the main controller chip. The circuit logic and UF2 flashing operation principles are universally applicable, with only the main controller model differing. The original chip model mentioned in the circuit descriptions below is provided for reference purposes only.

![](https://maker.wiznet.io/upload/ckeditor5/169303739%5F1787486239%2Epng)

DNS Protocol

1. DNS Protocol Introduction

DNS (Domain Name System) is a critical Internet service. It implements mapping between domain names and IP addresses and forms a distributed database. This service enables users to access the Internet conveniently without remembering numeric IP addresses which machines read directly. Every computer on the Internet is assigned a unique identifier known as an IP address. However, IP addresses consist of digits and are hard for humans to memorize. Therefore, domain names are commonly used to visit websites. For instance, the domain name [www.st.com.cn](http://www.st.com.cn/) can be used to open STMicroelectronics official website.

1. DNS Protocol Workflow

The DNS workflow is shown below:

![1280X1280.PNG](http://openwrite.cn/uploads/21597/63549/3fe7db99-24f1-46cd-a22c-da268c51b123.png)

DNS protocol workflow, recursive query from domain‑name lookup to IP‑address resolution

User device initiates query When a user enters `www.example.com` in the browser and presses enter, the browser sends a DNS query request to the local DNS resolver (usually provided by ISP) to obtain the IP address of `www.example.com`.

Local DNS resolver lookup The local DNS resolver checks its cache for the cached IP address of `www.example.com`. If no cached record exists, it starts a recursive query.

Recursive query procedure

Root DNS Server The local DNS resolver first sends a request to the root DNS server. The root DNS server will not return the IP address of `www.example.com` directly, but it knows the address of the DNS server responsible for the `.com` top‑level domain. The root DNS server replies with the address of the `.com` top‑level‑domain DNS server.

Top‑Level Domain DNS Server Next, the local DNS resolver sends a request to the `.com` top‑level‑domain DNS server. This server knows the address of the authoritative DNS server for `example.com`. The top‑level‑domain DNS server returns the address of the authoritative DNS server for `example.com`.

Authoritative DNS Server Finally, the local DNS resolver sends a request to the authoritative DNS server of `example.com`. The authoritative DNS server holds the genuine DNS records for `www.example.com`. The authoritative DNS server returns the IP address of `www.example.com`, for example `93.184.216.34`.

Cache and response The local DNS resolver caches the IP address of `www.example.com` for a certain period, so future requests for the same domain name can get faster replies. The resolver sends the IP address `93.184.216.34` back to the user‑side device.

User device accesses website Now the user browser obtains `93.184.216.34`, the IP address of `www.example.com`. It sends an HTTP request to the target server using this IP address to load web content.

Well‑known public DNS servers:

114DNS IPv4 114.114.114.114 and 114.114.115.115

Alibaba DNS IPv4 223.5.5.5 and 223.6.6.6

Google Public DNS IPv4 8.8.8.8 and 8.8.4.4

---

Source: https://maker.wiznet.io/ruilixin6/projects/no-more-memorizing-ips-dns-principle-workflow-explained/
