home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.infosystems.gopher
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!gatech!usenet.ins.cwru.edu!agate!spool.mu.edu!umn.edu!umeecs!nova!ellis
- From: ellis@nova.gmi.edu (Stew Ellis)
- Subject: Re: Problem with Xgopher 1.2 and/or gethostbyname
- Message-ID: <ellis.724971303@nova>
- Sender: news@zip.eecs.umich.edu (Mr. News)
- Organization: GMI Engineering&Management Institute, Flint, MI
- References: <9212211931.AA09915@spirit.aud.alcatel.com>
- Date: Mon, 21 Dec 1992 20:55:03 GMT
- Lines: 51
-
- droelke@spirit.aud.alcatel.com (Daniel R. Oelke) writes:
-
- >I just compiled Xgopher 1.2 - my first gopher client.
- >It appears to work great, but only with numerical IP address.
-
- >The problem I have is that the function call to gethostbyname according
- >to my man pages only resolves hosts listed in /etc/hosts , but apparently
- >it is intended to (in net.c of xgopher.c) to access the domain name server
- >and resolve the host this way. This defficiency of course creates
- >problems as I can't use anything other than the IP addresses for
- >xgopher.
-
- >My big question is: Is there a workaround or fix for this?
-
-
- >The flavor of UNIX I am running is
- >"SunOS Release 4.1.2 (GENERIC) #1: "
- >and I am running OpenWindows 3 (and I have gotten around the problems with
- >the Xmu library).
-
- >Thanks for any and all help you can give me.
-
- >Dan Oelke
-
- >-----------------------------------_---_--------------------------------------
- >Dan Oelke / \ / \ Alcatel Network Systems
- >droelke@aud.alcatel.com \ V / Richardson, TX
- >Phone: (214) 996-5013 \VMS/ #include <std-disclaim.h>
- > Fax: (214) 996-7119 \ /
- >-------------------------------------V----------------------------------------
-
- I have compiled xgopher 1.2 on SunOS 4.1.2 and am able to invoke is for
- example:
- xgopher gopher.msen.com
-
- gopher.msen.com is definitely being resolved by DNS. It is not in our
- /etc/hosts or our NIS maps. The difficulty is the way that Sun does DNS.
- It generally assumes you will either have complete /etc/hosts tables or that
- you will be running NIS, which will then hand off DNS requests to DNS. Is
- DNS working in general at your site? Can you do ftp by name to other sites?
-
- This is a frequent discussion item in comp.sys.sun.admin. There are ways of
- fixing Sun DNS service to work without NIS, but we run NIS and I have not
- needed to do that. It involves remaking libc.so with the lookup routines in
- libresolv.a or something.
-
- --
- -- ___________________
- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
- Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /
- Flint, MI 48504 ellis@nova.gmi.edu /________/ / / / /
-