[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: host aliases



vOn Thu, 22 Mar 2007 20:24:47 -0400
Celejar <celejar@gmail.com> wrote:

> On Thu, 22 Mar 2007 21:40:13 +0100
> Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:
> 
> [snip]
> 
> > On 20.03.07 15:18, Celejar wrote:
> > > Not sure what you mean. How can I access it directly from the
> > > internet without knowing the IP address or using the long dynamic
> > > DNS name?
> > 
> > put 'search the.dyndns.domain' into your resolv.conf
> 
> 
> Thanks. Works, but it requires that the 'dynalias.org' part stays
> fixed, and that I use it for all hosts I want to access via single
> word hostnames. I'd still be curious about a more general solution to
> do aliasing.
> 
> Celejar
> 
> 

You can put several domains on the 'search ...' line. Obviously the
first match will win. See 'man resolv.conf' for details.

-- 

Liam



Reply to: