From owner-freebsd-questions Mon Feb 15 17:23:52 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07995 for freebsd-questions-outgoing; Mon, 15 Feb 1999 17:23:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from neptune.psn.net (neptune.psn.net [207.211.58.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07990 for ; Mon, 15 Feb 1999 17:23:51 -0800 (PST) (envelope-from chemtechweb@psn.net) Received: from 2-77.phx.psn.net ([209.63.50.77] helo=psn.net) by neptune.psn.net with esmtp (PSN Internet Service 2.10 #1) for freebsd-questions@freebsd.org id 10CZEr-00022C-00; Mon, 15 Feb 1999 18:23:50 -0700 Message-ID: <36C8C906.2ACDA9D9@psn.net> Date: Mon, 15 Feb 1999 18:25:26 -0700 From: Emmanuel Gravel Reply-To: chemtechweb@psn.net Organization: Orbit Communications X-Mailer: Mozilla 4.08 [en] (Win98; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Name resolution problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm not sure where the problem lies. I've done this many times before successfully, but this time it's not working. I've setup PPP on a 2.2.7 machine, runs like a charm. Don't have a nameserver running. Placed resolv.conf in /etc with two lines for nameservers. I connect using PPP, I can ping anywhere I want, as long as I use an IP address. I try nslookup, and it tries to connect to a supposed nameserver on my own machine (trying to connect at 0.0.0.0). I try nslookup ftp.freebsd.org x.x.x.x (where the x's are the IP address of the primary nameserver I can use with my dialup account) and it works like a charm. I don't have named running in rc.conf. Why is nslookup (as well as all other name resolving software) defaulting to my own machine when I've explicitly set it in resolv.conf and that host.conf has hosts before bind? Any way to change that? What am I missing now that I possibly had done before (or that was done in the background without me knowing about it)? Thanks, Manu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message