From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 09:58:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4C3616A4CE for ; Thu, 12 Feb 2004 09:58:07 -0800 (PST) Received: from hotmail.com (bay8-f104.bay8.hotmail.com [64.4.27.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC1B43D1D for ; Thu, 12 Feb 2004 09:58:07 -0800 (PST) (envelope-from evantd@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 12 Feb 2004 09:58:07 -0800 Received: from 128.208.59.136 by by8fd.bay8.hotmail.msn.com with HTTP; Thu, 12 Feb 2004 17:58:07 GMT X-Originating-IP: [128.208.59.136] X-Originating-Email: [evantd@hotmail.com] X-Sender: evantd@hotmail.com From: "Evan Dower" To: freebsd-questions@freebsd.org Date: Thu, 12 Feb 2004 09:58:07 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Feb 2004 17:58:07.0428 (UTC) FILETIME=[C501B040:01C3F191] Subject: hostname and dhcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 17:58:07 -0000 I've actually been running FreeBSD for quite a while now, but I've never known exactly how to handle this. In rc.conf, one must specify a hostname. If you're using DHCP to set up your network though, your FQDN (fully qualified domain name) can change without notice. It seems like a Good Idea to have your hostname be your FQDN, since some things will do a reverse lookup on your IP to verify that it matches the hostname you supplied. In particular I'm thinking of SMTP servers here. (send-pr doesn't work for me because my mail gets rejected.) So, when you're autoconfiguring your network interfaces, what should you put in rc.conf's hostname variable? Is there something else I can do that would allow me to have something nicer looking, but still send my FQDN when asked? Thanks very much, -- Evan Dower Undergraduate, Computer Science University of Washington Public key: http://students.washington.edu/evantd/pgp-pub-key.txt Key fingerprint = D321 FA24 4BDA F82D 53A9 5B27 7D15 5A4F 033F 887D _________________________________________________________________ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/