How do I alias machine addresses for ftp and telnet?

Peter Eriksson pen at lage.lysator.liu.se
Sat Jul 14 07:18:15 AEST 1990


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 at lysator.liu.se
Lysator Computer Club                             ...!uunet!lysator.liu.se!pen
University of Linkoping, Sweden                               "Seize the day!"

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



More information about the Comp.unix mailing list