Learn the concept.
The Domain Name System, or DNS, helps applications find information associated with a domain name. A common use is resolving a website name to an IP address.
Names and addresses are different
A domain is a human-friendly name. An IP address identifies an endpoint in the network addressing system.
Resolvers do the lookup
A recursive resolver can ask other DNS servers for an answer, then cache that answer for a limited period.
A result is not a trust decision
Finding an address does not establish that a website or its content is safe.
Field example01 / A
Put it in context
You enter training.example. Your browser needs an address before connecting. A cached answer may save another lookup, but it does not tell you whether the training is legitimate.
Follow the lookup, then the connection
Follow the sequence, or move one step at a time.
Reduced motion is on. Use Next step to explore without animation.
Read all 4 steps
- Ask about a name
The device needs an address associated with a name.
- Resolve the name
The resolver uses a valid cached result or asks DNS servers. Those additional servers are omitted here.
- Return the record
The resolver returns an example address to the device. This documentation address is not a target.
- Connect separately
The device can now attempt a separate connection to the server. Web traffic does not pass through the DNS resolver.
A name becomes a destination
Simplified lookup for the fictional name training.example.
- Your device
Asks for an address associated with training.example.
- Recursive resolver
Uses a valid cached answer or asks DNS servers.
- Address returned
Example answer: 192.0.2.40. Your device can then attempt a connection.
Read the visualDoes getting an address mean the website is trustworthy?
No. DNS resolution finds records associated with a name. It does not endorse the site or its requests.
Make a decision.
Use what you just learned. A correct answer lets you save this lesson to your progress.
Take this with you.
DNS helps you find a destination. It does not decide whether you should trust it.
Next lesson: Give your network some boundariesFollow it in Packet Journey
Watch a request cross a 3D network, then fix five network problems. A free ten-minute activity with a diagram view.
Play Packet Journey →