🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6904

Why was res_query broken???

#6904
From: Chelsea Dyerman
Date: Thu, 21 Feb 1991 20:15
25 lines
1439 bytes
Would someone please be so kind as to explain why the ability to use
aliases for hosts by use of the env-var HOSTALIASES was removed from the
res_query funtion in the resolv library? Its a very nice way to be able to
use aliases for otherwise long hostnames like one tends to find for places
such as cmu.edu and etc... I seem to recall that that ability exsists on
more or less all the flavors of UNIX 'cept SunOS... 

Maybe there is a way to do that that the manpages dont disclose?

Here is how I used to do it:

	setenv HOSTALIASES $home/.aliases

	my .aliases file contained simple entries like

	foobar foobar.acc.foo.bar.cmu.edu

	etc...

	Any help would be greatly appreciated.

 * Chelsea Ashley Dyerman
 * casie@Soda.Berkeley.EDU
 * Organization(s): Experimental Computing Facility
 *                  University of California, Berkeley
Technical Details
Message-ID: <1712@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: cad1e@algol.astro.virginia.edu (Chelsea Dyerman)
Newsgroups: comp.sys.sun
Subject: Why was res_query broken???
Keywords: SunOS
Message-ID: <1712@brchh104.bnr.ca>
Date: 21 Feb 91 20:15:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 25
Approved: Sun-Spots@rice.edu
X-Original-Date: Thu, 14 Feb 91 15:49:39 -0500
X-Sun-Spots-Digest: Volume 10, Issue 43, message 4
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu