33. Validating DNS Consistency
Beginner Mode
Start your terminal to use beginner mode.
Scenario
Your monitoring alerts indicate that DNS resolution might be inconsistent across servers, and you need to confirm both IPv4 and IPv6 records for a given domain.
Task
Add IPv4 and IPv6 address entries for the domain example.local to /etc/hosts using the format <ip_address> <hostname> with each record on a separate line.
Example
198.51.100.42 example.local
2001:db8:85a3::8a2e:370:7334 example.local
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Linux Terminal Environment
Write and execute your solution in the terminal below.
Essential
Linux 0/29
AWS 0/10
Kubernetes 0/15
CI/CD 0/5
Networking 0/9
Need more practice in this area? Explore more questions →
SAP
Accenture
Coinbase
Adobe
EPAM
Twitch
Amazon
Kayak
Autodesk
Lyft
Revolut
RedHat
Bloomberg
Datadog
Palantir
TCS
HashiCorp
Google
DeutscheBank
GitHub
Apple
Cloudflare
Stripe
Microsoft
NVIDIA
GoDaddy
X
Spotify
Airbnb
Meta
Reddit
Yelp
Okta
Dropbox
Slack
ActivisionBlizzard
Zscaler
Uber
IBM
DeliveryHero
Robinhood
GitLab
Shopify
Samsung
Elastic
Twilio
Netflix
CrowdStrike
Ubisoft
Anthropic
Capital One
Splunk
Intel
AMD
Databricks