Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB71C1065699 for ; Thu, 25 Sep 2008 11:09:50 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc1-s14.bay0.hotmail.com (bay0-omc1-s14.bay0.hotmail.com [65.54.246.86]) by mx1.freebsd.org (Postfix) with ESMTP id D3B3D8FC23 for ; Thu, 25 Sep 2008 11:09:50 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from BAY126-W35 ([65.55.131.70]) by bay0-omc1-s14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 25 Sep 2008 04:09:50 -0700 Message-ID: X-Originating-IP: [204.249.77.1] From: Sean Cavanaugh To: Date: Thu, 25 Sep 2008 07:09:50 -0400 Importance: Normal In-Reply-To: <48db2995.BviIO9/dPuPT8Lza%perryh@pluto.rain.com> References: <119697.2728.qm@web30808.mail.mud.yahoo.com> <2A271C1D-8157-41B3-A2B1-EF57ECFD81FE@mac.com> <48d9ca8c.RZOeanRudui/84j4%perryh@pluto.rain.com> <18650.20577.490303.567389@jerusalem.litteratus.org> <48db2995.BviIO9/dPuPT8Lza%perryh@pluto.rain.com> MIME-Version: 1.0 X-OriginalArrivalTime: 25 Sep 2008 11:09:50.0840 (UTC) FILETIME=[3AC73F80:01C91EFF] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: My unqualified host name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 11:09:51 -0000 > Dunno about the OP, but my FreeBSD machines do not have nor need > valid FQDNs because they sit behind a NAT firewall (and therefore > do not have externally-identifiable IP addresses). I want hostname > to simply return the unqualified host name (say, foo), not foo.com > nor foo.uucp nor even foo.bogus. I don't need sendmail to handle > anything but purely local traffic, such as the periodic reports to > root, and it's just fine for it to identify itself simply as foo. > We were able to do things like this back in the days of SunOS 4, so > why should it be difficult to accomplish today? Indeed, why should > it not be the default mode of operation when hostname returns an > unqualified name? Common practice to handle naming was to use "computer.network.TLD" such as "workstation1.freebsd.org" for the internet facing side of your network. Internal, if you were not running a split-horizon DNS setup would be to use "network.local" or simply "local" for the effect of "workstation1.freebsd.local" or "workstation1.local". therefore if for some strange reason it ever did get the FQDN outside the local network, nothing would be able to resolve it to make it an issue since there is no TLD of .Local on the internet but could easily be added to an internal DNS server for personal use. -Sean