Re: host aliases



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



Relevant Pages

  • Re: Subdomains
    ... like to get some opinions on subdomains. ... 40-100 remote facilities that will all be VPN into our corp HQ, ... assist in the control of replication but if your WANS ... Massive number of objects vs. poor WAN Lines ...
    (microsoft.public.win2000.dns)
  • Re: Audio is very low
    ... > Modify settings or unsubscribe at: ... volume control. ... through the volume control panel tabs and sliders looking for something ...
    (Ubuntu)
  • Re: Proposed change for subscriptions...
    ... message that while list members can criticize quite a bit on this list, ... By delaying posts, ... the process and emphasize that you feel a need to control this thread ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Ubuntu vs. Debian (was Re: Introduction)
    ... control logic for film processors used for in preparing print the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • cvs for media files?
    ... I would love to do some kind of version control on ... sowe could all work on the documentary at home & then ... Matt Price ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)