From owner-freebsd-questions Thu Jun 8 10:17:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 6E88037B893 for ; Thu, 8 Jun 2000 10:17:23 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id VAA30309; Thu, 8 Jun 2000 21:20:21 +0200 Message-ID: <393FD53C.6AF2C4A2@i-clue.de> Date: Thu, 08 Jun 2000 19:17:48 +0200 From: Christoph Sold Organization: i-clue interactive GmbH X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Roberto Nunnari, AGIE" Cc: questions Subject: Re: named? References: <393FC544.FAAC0C6A@agie.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Roberto Nunnari, AGIE" wrote: > Hello. > > I have a problem with a small network of PCs: > whenever trying to telnet/ftp/nfs between hosts > on the local network the gateaway makes a connection > to the ISP and doesn't answer the querying host until > it doesn't make the connection to the ISP. That happen > even if I give the IP address instead of the name. > > I set up this small network as follows: > - 192.168.1.1 host1 > - 192.168.1.2 host2 > - 192.168.1.3 host3 > - 192.168.1.4 host4 > > host1 has a dialup connection to the internet via modem > and is configured as gateway + nat giving the other hosts > access to the internet. > host1 also runs named for this small network and also manages > all names on that network, so that the other hosts' must not > keep their hosts file up to date. resolv.conf contains as > the first line 'nameserver 127.0.0.1' so that the local host > is looked up first. ppp correctly updates resolv.conf. > > Probably I miss-configured named , but after seeing > the same behaviour using the IP address I'm a bit confused. Have a look at /etc/host.conf on the misbehaving box. Most probably it says bind hosts instead of the reverse order. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message