IP addresses and DNS
Read IPv4 and IPv6, follow DNS records and understand TTL caching.
What you will be able to do
- Use A and AAAA for host addresses.
- Use CNAME for aliases.
- Lower TTL before a planned migration.
- Use dig to inspect records and propagation.
In plain English
An IP address identifies an interface. DNS maps names to records: A for IPv4, AAAA for IPv6, CNAME for aliases, MX for mail and TXT for verification. TTL controls how long resolvers may cache an answer.
dig +short A example.com
dig +short AAAA example.com
dig +short MX example.comYour turn
EasyLook up an A record
Write a dig command that returns only the IPv4 addresses for example.com.
BASH · starter
dig example.comCheck your understanding before moving on.
Knowledge checkQuestion 1
Which record maps a name to an IPv4 address?
Select an answer to continue
Study tools
Make it yours.
Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.
Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign inFinished reading?
Lock in what you just learned.
0%
Mark this lesson complete to save your place and move one step closer to the certificate.