Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2000 12:16:47 -0800
From:      "DINKEY,GENE (HP-Loveland,ex1)" <gene_dinkey@hp.com>
To:        "'Arcady Genkin'" <antipode@thpoon.com>, freebsd-questions@FreeBSD.ORG
Subject:   RE: aliases for hosts
Message-ID:  <F341E03C8ED6D311805E00902761278C5314FD@xfc04.fc.hp.com>

next in thread | raw e-mail | index | archive | help
/etc/hosts will only work for staticlyt assigned ip's.  If your using DHCP
then you will have to look towards something more like DNS I think.

Gene Dinkey
Hewlett Packard Customer Care
TCD - PA-RISC based workstations
Phone: 970.278.8732
Fax:   970.613.2257


> -----Original Message-----
> From: Arcady Genkin [mailto:antipode@thpoon.com]
> Sent: Saturday, December 16, 2000 12:23 PM
> To: freebsd-questions@FreeBSD.ORG
> Subject: aliases for hosts
> 
> 
> /etc/hosts lets me define an alias to an IP address.
> 
> Is there any way to define an alias in such a way that DNS lookup
> *would* be performed, but only on an expanded name of the host?
> 
> For example, I'd like to alias `cdf.utoronto.ca' to `cdf', without
> having to enter its IP address (which can theoretically change) into
> /etc/hosts.
> 
> Many thanks,
> -- 
> Arcady Genkin
> Don't read everything you believe.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F341E03C8ED6D311805E00902761278C5314FD>