From owner-freebsd-net@FreeBSD.ORG Sun Oct 12 07:47:27 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6869D16A4BF for ; Sun, 12 Oct 2003 07:47:27 -0700 (PDT) Received: from smithers.nildram.co.uk (smithers.nildram.co.uk [195.112.4.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A3243F75 for ; Sun, 12 Oct 2003 07:47:26 -0700 (PDT) (envelope-from nullentropy@lineone.net) Received: from lineone.net (orbital.gotadsl.co.uk [81.6.215.230]) by smithers.nildram.co.uk (Postfix) with ESMTP id DEB4E253B7F; Sun, 12 Oct 2003 15:47:21 +0100 (BST) Message-ID: <3F896979.6000102@lineone.net> Date: Sun, 12 Oct 2003 15:47:21 +0100 From: Robert Downes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: ar, es, fr, en, en-us MIME-Version: 1.0 To: Brian Reichert , freebsd-net@freebsd.org References: <3F862EA7.7000402@lineone.net> <20031010162031.GO56167@numachi.com> <3F873F44.4000205@bobulous.net> <20031012060500.GA274@numachi.com> In-Reply-To: <20031012060500.GA274@numachi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: named sandbox trouble X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 14:47:27 -0000 >>>>I'm trying to setup BIND so that my machine understands its own hostname >>>>(because mySQL refuses to install because the hostname appears invalid >>>>and the --force option seems to do nothing), and because it would be >>>>helpful generally. >>>> >>>> >>>> >>>> >>>This doesn't answer your question, as I don't run BIND, but couldn't >>>you just put an entry in /etc/hosts? >>> >>> >>> >>> >>> >>I have an entry for my machine's IP address and the address of my router >>in /etc/hosts, but still I get complaints. >> >> > >Weird. :/ > >Are the entries fully qualified? >What does your resolv.conf look like? >Do any other apps complain? > >I'd have to look at the MySQL install scripts to be sure, but I >can't fathom why MySQL would go out of it's way to sneak around the >resolver... > > > I've realised that my /etc/resolv.conf is being overwritten on every reboot. I assumed this was because of DHCP, but disabling DHCP meant that my network connection was disabled. I think a lot of the problem is not understanding how to define a home network behind an ADSL-modem/router/switch, so I'm configuring things badly, and that's causing failure. Where can I go to fully educate myself on how to configure my ADSL-modem/router/switch and also FreeBSD behind that router? -- Bob echo Mail fefsensmrrjyaheeoceoq\! | tr "jefroq\!" "@obe.uk" -- Bob