From owner-freebsd-questions Wed Dec 6 19:46:37 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 6 19:46:34 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from giroc.albury.net.au (giroc.albury.NET.AU [203.15.244.13]) by hub.freebsd.org (Postfix) with ESMTP id CFC8E37B401 for ; Wed, 6 Dec 2000 19:46:31 -0800 (PST) Received: (from nicks@localhost) by giroc.albury.net.au (8.11.1/8.11.1) id eB73kM588731; Thu, 7 Dec 2000 14:46:22 +1100 (EST) Date: Thu, 7 Dec 2000 14:46:22 +1100 From: Nick Slager To: Raymond Law Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DNS server Message-ID: <20001207144622.B74591@albury.net.au> References: <3.0.1.32.20001206174404.006d3cf8@mail.vt.edu> <3.0.1.32.20001206174404.006d3cf8@mail.vt.edu> <20001207094110.B40394@albury.net.au> <3.0.1.32.20001206175433.006da248@mail.vt.edu> <20001207094939.C40394@albury.net.au> <3.0.1.32.20001206180822.006e4800@mail.vt.edu> <20001207100819.D40394@albury.net.au> <3.0.1.32.20001206183449.006a760c@mail.vt.edu> <20001207104546.F40394@albury.net.au> <3.0.1.32.20001206212048.006e3ed0@mail.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3.0.1.32.20001206212048.006e3ed0@mail.vt.edu>; from rlaw@vt.edu on Wed, Dec 06, 2000 at 09:20:48PM -0500 X-Homer: Whoohooooooo! Sender: nicks@giroc.albury.net.au Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Raymond Law (rlaw@vt.edu): > The problem I described did not happen when I just installed FreeBSD in > school. When I went back home working offline and tried to open KDE, it > gives error because gethostbyaddr() or some other related sys call (don't > remember exactly) fails when KDE starts. I then manually added a > hostname/IP entry in hosts. Everything works fine at home. However, the > problem arises when I come back to school and connect it to the network. > > Any idea what might went wrong? I appreciate your help very much. If you remove the hostname entry in /etc/hosts when at school, does it work? Nick -- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message