Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!bostic From: bostic@ucbvax.BERKELEY.EDU (Keith Bostic) Newsgroups: comp.unix.wizards Subject: Re: aliases in .rhosts Message-ID: <21825@ucbvax.BERKELEY.EDU> Date: Tue, 17-Nov-87 13:48:07 EST Article-I.D.: ucbvax.21825 Posted: Tue Nov 17 13:48:07 1987 Date-Received: Thu, 19-Nov-87 21:53:05 EST References: <11488@orchid.waterloo.edu> <21654@ucbvax.BERKELEY.EDU> <11660@orchid.waterloo.edu> Distribution: comp Organization: University of California at Berkeley Lines: 13 Summary: the resolver can't return alias lists In article <11660@orchid.waterloo.edu>, gamiddleton@orchid.waterloo.edu (Guy Middleton) writes: > With the new resolver routines, > you don't get any aliases except the name it was called with. Is there any > way of getting the resolver to return an alias list? Then I could just > call gethostbyname() once, and compare to that list. The resolver cannot return a complete alias list because the information is no longer available in a single place, e.g. all of the aliases may not even be present on a single machine. Aliases are much more important on the command line; as we're talking about setting up a file, once, it doesn't seem unreasonable for the user to be required to enter the complete name. --keith