From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 08:40:49 2005 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 3F45316A4CE for ; Wed, 9 Mar 2005 08:40:49 +0000 (GMT) Received: from mta05-winn.mailhost.ntl.com (smtpout15.mailhost.ntl.com [212.250.162.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C4CB43D2D for ; Wed, 9 Mar 2005 08:40:48 +0000 (GMT) (envelope-from ben@spooty.net) Received: from aamta07-winn.mailhost.ntl.com ([212.250.162.8]) by mta05-winn.mailhost.ntl.com with ESMTP <20050309084046.RASP1139.mta05-winn.mailhost.ntl.com@aamta07-winn.mailhost.ntl.com>; Wed, 9 Mar 2005 08:40:46 +0000 Received: from cpc2-brig4-3-0-cust135.brtn.cable.ntl.com ([82.0.100.135]) by aamta07-winn.mailhost.ntl.com with ESMTP <20050309084046.WTMF10174.aamta07-winn.mailhost.ntl.com@cpc2-brig4-3-0-cust135.brtn.cable.ntl.com>; Wed, 9 Mar 2005 08:40:46 +0000 From: Ben Paley To: Luke Kearney Date: Wed, 9 Mar 2005 08:40:43 +0000 User-Agent: KMail/1.7.2 References: <200503090809.19374.ben@spooty.net> <20050309171717.0F41.LUKEK@meibin.net> In-Reply-To: <20050309171717.0F41.LUKEK@meibin.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503090840.44079.ben@spooty.net> cc: FreeBSD Questions Subject: Re: Setting hostname - fake and real 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: Wed, 09 Mar 2005 08:40:49 -0000 On Wednesday 09 March 2005 08:20, Luke Kearney wrote: > Hello Ben > Sounds like you might need some DNS magic here. I am not entirely sure I > understand why you would want to use fake dns names. I don't especially want to use a fake name, I just don't have a real one to use... the machine I'm talking about is my home machine with dynamic IP - I know there are ways round this, but it hardly seems worth registering a domain for this machine when it's off more than half the time anyway! > It won't really > work properly and if testing scripts that send mail is the goal then a > FQDN is probably a good idea. Do you control the DNS for your 'real' > domain? It's hosted commercially. In practice I might be able to get the tech people there to do me a favour, but then again I've got this dynamic IP > If so add your host potato and if possible get a reverse DNS > entry to match. > > For apache and X edit /etc/hosts and put the real information there and > your problems should go away. Thanks a lot, I'll give this a go. /etc/hosts, of course, what a fool I am! If it doesn't work then maybe I'll find myself going down the route of registering another domain! Thanks again, Ben