home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / sys / sun / 3414 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1006 b   |  24 lines

  1. Newsgroups: alt.sys.sun
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!ulysses!ulysses!smb
  3. From: smb@ulysses.att.com (Steven Bellovin)
  4. Subject: DNS versus other libraries
  5. Message-ID: <1992Nov23.022138.27685@ulysses.att.com>
  6. Date: Mon, 23 Nov 1992 02:21:38 GMT
  7. Organization: AT&T Bell Laboratories
  8. Lines: 14
  9.  
  10. We're running SunOS 4.1.1, with the DNS resolver routines installed in
  11. libc.a.  So far, so good.  In the last week, though, we've hit two
  12. problems.
  13.  
  14. The first is that code compiled with /usr/5bin/cc doesn't find those
  15. routines, since 5lib/libc.a has its own gethostbyname.  Can I just
  16. say -lresolv?  Must I recompile the resolver library with 5cc, and
  17. modify its libc.a?
  18.  
  19. Second, and more serious, a program running with the light-weight
  20. process library and -lnbio can't reliably resolve name.  It sends
  21. out the DNS queries, but the select() call in res_send seems to
  22. end prematurely enough times that the library routine gives up.
  23. Does anyone have a bypass?
  24.