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