To list the IPv4 addresses associated with the host name www.companypro.net, you should use the following command:
nslookup www.companypro.net
This command will query the DNS servers to find the IP address associated with the hostname provided. If you want to ensure that it returns the IPv4 address, you can specify the -type=A option, which stands for Address records that hold IPv4 addresses1. However, the nslookup command by default should return the IPv4 address if available.
To list the IPv4 addresses associated with the host name www.companypro.net , you should use the nslookup command.
Command: nslookup
Target: www.companypro.net
So, the completed command is:
nslookup www.companypro.net
nslookup: This command is used to query the Domain Name System (DNS) to obtain domain name or IP address mapping or for any other specific DNS record.
www.companypro.net : This is the domain name you want to query to obtain its associated IP addresses.
References:
Using nslookup: nslookup Command Guide
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit