Re: host aliases
- From: Celejar <celejar@xxxxxxxxx>
- Date: Fri, 23 Mar 2007 09:52:52 -0400
On Fri, 23 Mar 2007 08:25:44 +0000
Liam O'Toole <liam.p.otoole@xxxxxxxxx> wrote:
vOn Thu, 22 Mar 2007 20:24:47 -0400
Celejar <celejar@xxxxxxxxx> wrote:
On Thu, 22 Mar 2007 21:40:13 +0100
Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx> 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.
I know. The problem is that if there are several hosts with different
domains / subdomains, there will be needless lookups, wasting time and
bandwidth (perhaps not a lot of it, but still). Even worse, say I
control 'foo.dynalias.org' and 'bar.dyndns.org', but someone else
controls 'foo.dyndns.org' and 'bar.dynalias.org'. Then regardless of
which subdomain is first in 'resolv.conf', I'll get incorrect matches,
which is obviously totally unacceptable. At this point, I have various
workarounds for my needs (so far I only need ssh anyway, so I can just
use ssh aliasing, as in my earlier posts), but I'm still really curious
about a general, reasonably elegant solution.
Celejar
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- host aliases
- From: Celejar
- Re: host aliases
- From: Thomas Jollans
- Re: host aliases
- From: Celejar
- Re: host aliases
- From: Thomas Jollans
- Re: host aliases
- From: Celejar
- Re: host aliases
- From: Matus UHLAR - fantomas
- Re: host aliases
- From: Celejar
- Re: host aliases
- From: Liam O'Toole
- host aliases
- Prev by Date: Re: a dumb query? pls humor me
- Next by Date: Re: a dumb query? pls humor me
- Previous by thread: Re: host aliases
- Next by thread: Re: host aliases
- Index(es):
Relevant Pages
|
|