home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 4 / 4030 / README < prev   
Encoding:
Text File  |  1991-09-10  |  1.4 KB  |  43 lines

  1. To build nslook, type "make" on BSD Systems or "make sysv" on System V.
  2. It is tested on ISC 386/ix (sysv), BSD 4.3 and SunOS 4.1.1.
  3.  
  4. I don't know anything about other systems, but:
  5. If ld complains about missing gethostbyname, gethostbyaddr, and
  6. h_errno, you probably have to link with libresolv.a or some other
  7. library containing these, if you have it.
  8.  
  9. nslook is a simple form of nslookup. It only gives you what you want
  10. to see: The IP address of a host, or the hostname of an IP address.
  11.  
  12. Usage: nslook [-l] hostname       
  13.             to give you an IP address from a name
  14.        nslook [-l] -a IP-address
  15.             to give you a name from an IP address
  16.  
  17. The flag "-l" gives a long output.
  18.  
  19. Some examples of use:
  20.  
  21. coma: /u/nickel) nslook ucbvax.berkeley.edu
  22. 128.32.133.1
  23. coma: /u/nickel) nslook -l ucbvax.berkeley.edu
  24. Official name: ucbvax.berkeley.edu
  25. Address:       128.32.133.1
  26. Address:       128.32.130.12
  27. Address:       128.32.149.36
  28. Address:       128.32.137.3
  29. coma: /u/nickel) nslook -a 128.32.133.1
  30. ucbvax.Berkeley.EDU
  31. coma: /u/nickel) nslook -al 128.32.133.1
  32. Official name: ucbvax.Berkeley.EDU
  33. Address:       128.32.133.1
  34. coma: /u/nickel) nslook -l ftp.informatik.uni-dortmund.de
  35. Official name: walhalla.informatik.uni-dortmund.de
  36. Alias:         ftp.informatik.uni-dortmund.de
  37. Address:       129.217.64.63
  38.  
  39. If you have any comments, suggestions, complaints, improvements,
  40. please send them to me: Juergen Nickelsen <nickel@cs.tu-berlin.de>.
  41.  
  42. Copyrights? what Copyrights?
  43.