From owner-freebsd-questions Sat Dec 16 11:22:51 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 11:22:50 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.42.106.79]) by hub.freebsd.org (Postfix) with SMTP id C19A737B400 for ; Sat, 16 Dec 2000 11:22:49 -0800 (PST) Received: (qmail 35799 invoked from network); 16 Dec 2000 19:22:48 -0000 Received: from unknown (HELO tea.thpoon.com) (mail@192.168.1.2) by cr103675-a.bloor1.on.wave.home.com with SMTP; 16 Dec 2000 19:22:48 -0000 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 147Muu-00019s-00 for ; Sat, 16 Dec 2000 14:22:48 -0500 To: freebsd-questions@FreeBSD.ORG Subject: aliases for hosts From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com Mail-Copies-To: never Date: 16 Dec 2000 14:22:48 -0500 Message-ID: <87itokf9x3.fsf@tea.thpoon.com> Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG /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