Re: host aliases
On Mon, 19 Mar 2007 02:07:26 +0100
Martin Marcher <martin.marcher@openforce.com> wrote:
> Get the IP of foo.bar and give bar the entry in the hosts file
> (closest you can get afaik without doing dns)
>
>
> Am 18.03.2007 um 21:15 schrieb Celejar:
> > /etc/hosts allows aliases of names to IP addresses, but not,
> > apparently, of one name to another without an IP address. Is there any
> > way to do what I want (preferably without needing to install a DNS
> > server, even a lightweight one such as dnsmasq)?
>
> No
I realized that I could use the IP of 'foo.bar' as you suggest, but
since in general I would not necessarily know it, I thought that there
must be a better solution.
Celejar
--
ssuds.sourceforge.net - Home of Ssuds and Ssudg, a Simple Sudoku Solver and Generator
Reply to: