In macOS, the host command can be used to determine if an IP address is part of Applebot. These examples show the host command and its result:

$ host 17.58.101.179 179.101.58.17.in-addr.arpa domain name pointer 17-58-101-179.applebot.apple.com.

The host command can also be used to verify that the DNS points to the same IP address:

$ host 17-58-101-179.applebot.apple.com 17-58-101-179.applebot.apple.com has address 17.58.101.179.