From owner-freebsd-questions Sat Dec 16 12:16:56 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 12:16:54 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by hub.freebsd.org (Postfix) with ESMTP id 3D18B37B400 for ; Sat, 16 Dec 2000 12:16:54 -0800 (PST) Received: from omgw1.boi.hp.com (omgw1.boi.hp.com [15.56.8.101]) by atlrel1.hp.com (Postfix) with ESMTP id 7F0C9743E; Sat, 16 Dec 2000 15:16:53 -0500 (EST) Received: from xrosebh3.rsvl.itc.hp.com (xrosebh3.rsvl.itc.hp.com [15.34.240.67]) by omgw1.boi.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit6.0.6 OpenMail) with ESMTP id NAA11664; Sat, 16 Dec 2000 13:16:51 -0700 (MST) Received: by xrosebh3.rsvl.itc.hp.com with Internet Mail Service (5.5.2650.21) id ; Sat, 16 Dec 2000 12:16:54 -0800 Message-ID: From: "DINKEY,GENE (HP-Loveland,ex1)" To: "'Arcady Genkin'" , freebsd-questions@FreeBSD.ORG Subject: RE: aliases for hosts Date: Sat, 16 Dec 2000 12:16:47 -0800 Return-Receipt-To: "DINKEY,GENE (HP-Loveland,ex1)" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG /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