A domain name is a human-readable Internet identifier that DNS translates into an IP address. TCP cannot use domain names directly, so a resolver asks DNS servers for the required address. section 8.4.2
A small Rust command-line utility accepts a hostname, constructs a DNS query for an IPv4 address, sends it through a public or selected DNS server, and prints the result. DNS can use UDP or TCP, with TLS available for encrypted requests. section 8.4.2
Resolve a hostname
Running `resolve www.rustinaction.com` produces an IPv4 address such as `35.185.44.232`. The resolver can also accept a DNS server with `-s`.

