From AOLserver Wiki
- ns_addrbyhost - Forward lookup a hostname to its IP address
- ns_addrbyhost ?-all? hostname
- This command resolves a hostname to its IP address. If the hostname cannot be resolved, it throws an error.
- -all switch is new in AOLserver 4.5 and will return a list of all IP addresses when more than one A or CNAME DNS record exists for this host.
% ns_addrbyhost www.aol.com 22.214.171.124
% ns_addrbyhost bogus.domain could not lookup bogus.domain while executing "ns_addrbyhost bogus.domain"