- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Querying DNS Client Configuration from the Command Line
Knowing how to locate DNS information, and how to perform queries using the configured DNS host (as well as other hosts), is a useful skill. In this hands-on lab, we’ll verify the network DNS configuration settings and perform several DNS queries.

Lab Info
Table of Contents
-
Challenge
Determine the Configured DNS Host
Determine the Configured DNS Host by checking the
/etc/resolv.conf
file. -
Challenge
Perform a DNS Lookup on www.acloudguru.com Using the Configured DNS Host
Utilize the
host
anddig
commands to querywww.acloudguru.com
and observe the results. -
Challenge
Perform a DNS Lookup of www.acloudguru.com Using Another DNS Host
Utilize the
host
anddig
commands to querywww.acloudguru.com
utilizing another DNS host and observe the results. Note: The DNS host for CloudFlare (1.1.1.1) was used as an example, but you can also use Google DNS (8.8.8.8 or 8.8.4.4). -
Challenge
Test Connectivity to www.acloudguru.com
Utilize the
ping
andcurl
commands to test connectivity towww.acloudguru.com
and observe the results.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.