home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / ISP / bind.4.8.3.lzh / BIND483 / Readme.OSK < prev   
Text File  |  1994-09-23  |  3KB  |  69 lines

  1.  
  2.    Here is the resolver library and some tools (including nslookup) for
  3. OSK. They were compiled under OSK ver. 2.4 using ISP ver. 1.3 with the
  4. GNU gcc2 compiler ver. 2.5.8 and using PD dmake (available in the PD
  5. ksh package on chestnut.cs.wisc.edu).
  6.  
  7.   I tried to mark the changes by "#ifdef OSK" so you can find them by
  8. searching for the string "OSK". If I had to change the entire file, the 
  9. original is left with the suffix ".org".
  10.  
  11.   An essential part of the resolver library is select() that can also
  12. work on socket paths. The Microware implementation of sockets is crippled -
  13. it does not support the _ss_ssig, so select() was obtained by using the
  14. existing PD implementation by the Munich TOP group and adding a combination
  15. of events and alarms. This select() works for several standard (SCF, PIPE)
  16. paths and for one network (SOCKMAN) path. It can be generalized to many network
  17. paths by creating a separate event for each path. Right now the calling
  18. program has to create an event. See the source of nsquery.c to find out how
  19. this can be done.
  20.  
  21.   A good reference on the subject is the book by P. Albitz and C. Liu,
  22. "DNS and BIND", O'Reilly 1992. Examples from this book are included here
  23. in the subdirectory EXAMPLES. 
  24.  
  25.   Several compiled programs are included in directory CMDS. They include:
  26. nslookup, nsquery (from the original BIND sources) and checksoa (to check
  27. the source of authority, from the book quoted above). To use them you
  28. have to create first the file /h0/resolv.conf. Here is an example:
  29.  
  30. ;
  31. ;  /etc/resolv.conf 
  32. ;
  33. domain        desy.de
  34. nameserver    131.169.200.2
  35.   
  36.   Replace here "desy.de" by your own domain and the IP address by the IP
  37. address of your name server.
  38.  
  39.   Then you can try:
  40.    nsquery ftp.funet.fi
  41. or
  42.    checksoa if.uj.edu.pl
  43.  
  44.   The manual pages can be found in subdirectory MAN in nroff format. I have
  45. added PostScript versions for your convenience.
  46.  
  47.   To save some space I removed from DOC the texts of RFC's 920, 974, 1032,
  48. 1033, 1034, 1035 and 1101 included in the original. If needed, they can be
  49. easily found elsewhere.
  50.  
  51.  
  52. BUGS :
  53.  
  54.  - the resolver library works only in the TCP protocol (and now defaults
  55.    to it). I could not find the reason why it does not work in the UDP
  56.    protocol - it seems that the OSK machine generates port number 0 in
  57.    the UDP packet.
  58.  
  59.  - nslookup when used in the interactive mode wants sometimes two CR at
  60.    the end of line. Even to get to this stage I had to replace by hand
  61.    read() by readln() in command.c (which is the flex output from command.l).
  62.  
  63.  
  64.  
  65. Andrzej Kotanski
  66. (kotanski@zeus02.desy.de)
  67.  
  68.                                        Cracow, Poland, September 23, 1994
  69.