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 188.8.131.52
% ns_addrbyhost bogus.domain could not lookup bogus.domain while executing "ns_addrbyhost bogus.domain"