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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Determine the Configured DNS Host
Determine the Configured DNS Host by checking the
/etc/resolv.conf
file.- 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.- 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).- Test Connectivity to www.linuxacademy.com
Utilize the
ping
andcurl
commands to test connectivity towww.acloudguru.com
and observe the results.