Which of the following commands can be used to resolve a DNS name to an IP address?
Which of the following commands can be used to resolve a DNS name to an IP address?
The correct command to resolve a DNS name to an IP address is 'host'. This command queries DNS servers to obtain the respective IP address of a given hostname.
D. host is in fact the correct answer...If you running a VM, in your terminal just type the command.... man host
https://linuxhint.com/resolve_hostname_ip_address_bash_script/ ping dig host nslookup
could be Dig as well
the command is nslookup not iplookup so the answer is host
yup correct
Sample: To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.90.1-microsoft-standard-WSL2 x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge This message is shown once a day. To disable it please create the /home/firerose/.hushlogin file. firerose@DESKTOP-EQBT80R:~$ host donhuvy.net donhuvy.net has address 45.118.146.133 firerose@DESKTOP-EQBT80R:~$
With The command “host” we will know the name of IP address