From owner-freebsd-questions Thu Aug 2 9:36:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mnmai05.mn.mediaone.net (nic-245-c10-36.mn.mediaone.net [24.245.10.36]) by hub.freebsd.org (Postfix) with ESMTP id 34D8137B401 for ; Thu, 2 Aug 2001 09:36:45 -0700 (PDT) (envelope-from orpheus@mnmai05.mn.mediaone.net) Received: (from orpheus@localhost) by mnmai05.mn.mediaone.net (8.9.3/8.9.3-CONDOLAN) id LAA10882; Thu, 2 Aug 2001 11:36:46 -0500 Date: Thu, 2 Aug 2001 11:36:46 -0500 From: Jeffrey Dunitz To: =?iso-8859-1?Q?Jean-Fran=E7ois_Lachance?= Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Internet Message-ID: <20010802113646.B1316@lemieux.condolan.asn> Reply-To: orpheus@avalon.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: ; from jfzonev@hotmail.com on Thu, Aug 02, 2001 at 04:08:20PM +0000 X-Blargh: This message is Blargh. (lemieux) X-Crypto-Secret: 225d762b2865446cb716507e35d50ca7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On this day Thu, Aug 02, 2001 at 04:08:20PM +0000, the following great wisdom poured forth from the mouth of Jean-François Lachance, to the stark amazement of all who witnessed: > Hi there, > > tonight my computer gave me an error message: > > gethostbyaddr(192.168.2.1) failed: 2 > > 192.168.2.1 is my gateway IP address and with any other computers running > win98, there are no problems. Why is my FreeBSD box doing this? Do you have > any ideas? I get this error message by sendmail. So you solved your other connectivity problem, I guess? the error you're seeing now means that freebsd can't find a valid DNS name for that IP address. You either need to set up a DNS server on your internal net (preferable, for geek value, education, and more easy expandability of your network--you ARE going to get more computers, right? Of course you are.), OR you can simply add some entries to /etc/hosts, like we used to do circa 1983. I highly recommend setting up a DNS server, perhaps on your linux firewall--just don't make it available to the outside world. > > John F Lachance > > _________________________________________________________________ > Téléchargez MSN Explorer gratuitement à l'adresse > http://explorer.msn.fr/intl.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Jeffrey Dunitz | unix | orpheus@avalon.net BOFH Emeritus, Avalon Networks | perl | (651) 686-9974 / http://www.avalon.net/~orpheus | net/sec | Eagan, MN _ / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message