[comp.unix] How do I alias machine addresses for ftp and telnet?

pen@lage.lysator.liu.se (Peter Eriksson) (07/14/90)

If your machine has the domain name server resolver libraries (atleast
if its using the BIND 4.8 version), the you can set an environment
variable called HOSTALIASES to point at a file containing a list of
aliases for hosts. That file could look something like this:

simtel20a      26.2.0.74
simtel20b      wsmr-simtel20.army.mil.

Try "man 7 hostname" if you have the BIND 4.8 software running.

Peter
---
Peter Eriksson                                              pen@lysator.liu.se
Lysator Computer Club                             ...!uunet!lysator.liu.se!pen
University of Linkoping, Sweden                               "Seize the day!"

--
Peter Eriksson                                              pen@lysator.liu.se
Lysator Computer Club                             ...!uunet!lysator.liu.se!pen
University of Linkoping, Sweden                               "Seize the day!"