From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 18:33:32 2008 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 5667C1065670 for ; Wed, 29 Oct 2008 18:33:32 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id 487AB8FC30 for ; Wed, 29 Oct 2008 18:33:32 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K9I007HUJJ0BE20@asmtp016.mac.com> for freebsd-questions@freebsd.org; Wed, 29 Oct 2008 11:33:01 -0700 (PDT) Message-id: From: Chuck Swiger To: Robin Becker In-reply-to: <4908A71C.9050104@chamonix.reportlab.co.uk> Date: Wed, 29 Oct 2008 11:33:00 -0700 References: <4908A71C.9050104@chamonix.reportlab.co.uk> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-questions@freebsd.org Subject: Re: no reverse dns 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: Wed, 29 Oct 2008 18:33:32 -0000 On Oct 29, 2008, at 11:10 AM, Robin Becker wrote: > We have just moved offices and our freebsd machine has started > complaining in the following terms > > Oct 29 17:14:39 int kernel: arplookup ww.xx.yy.zz failed: host is > not on local network > > We have an external router connected as a dhcp server at 192.168.0.2 > which apparently has external address ww.xx.yy.zz. I am using a > fixed ip address ie > > 192.168.0.6 > > I have this in my rc.conf > > defaultrouter="192.168.0.2" > hostname="int.myoffice.com" > ifconfig_em0="inet 192.168.0.6 netmask 255.255.255.0" > > and have dns mapping int.myoffice.com --> ww.xx.yy.zz, If you tell the machine that it is int.myoffice.com and you set up DNS which claims that hostname has an external IP, it will be sad because it doesn't know how to reach that IP. You can use DNS split-horizon / views to return the internal IP when the machine asks, or simply keep your external and internal names separate. Ie, set up DNS like: int.myoffice.com A 192.168.0.6 ext.myoffice.com A ww.xx.yy.zz Regards, -- -Chuck