- Lab
- A Cloud Guru
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.
Path 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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.