Step 1/2: Look up an address

host NAME asks the DNS server for the address of a name, one answer per line, and says so when the name is an alias (CNAME). host ADDRESS looks up the name of an address.

$ host web01
Fundamentalshostdnsnetwork
Look up a host name's address
Use host to look up the IP address of web01 (the practice network's DNS server completes it to web01.example.lan).

This exercise needs real Linux

The commands it uses (processes, networking and more) are not in the simulator. Switch to real Linux and the exercise runs in a real Linux system inside your browser.

ssNext lesson:dig