I don't understand how to use the ls option in nslookup on HP-UX. It failed both interactively:> lsUsing /etc/hosts on:  hpuxlooking up FILESTrying DNSName:    ls.> set ls*** Invalid option: ls>And non-interactively:nslookup  -query=PTR 10.3.0.2 10.3.0.2 lsWhat's the right way to use it?
How to use ls in nslookup on HP-UX?
nslookup
Taken straight from HPUX documentation for nslookupls [option] domain List the information available for domain [...]. The default output contains host names and their Internet addresses.The ls subcommand will work only if you are connecting to an authoritative server and you have permission to request a zone transfer.nslookup - 10.1.1.1    # The authoritative server for zone contoso.com> ls contoso.com