From owner-freebsd-questions Thu Oct 22 13:00:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20199 for freebsd-questions-outgoing; Thu, 22 Oct 1998 13:00:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20189 for ; Thu, 22 Oct 1998 13:00:39 -0700 (PDT) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.8/8.8.8) id PAA09749; Thu, 22 Oct 1998 15:00:05 -0500 (CDT) (envelope-from proot) From: "Paul T. Root" Message-Id: <199810222000.PAA09749@horton.iaces.com> Subject: Re: weird ppp resolving problem with dns (2.2.7 Freebsd) please help... In-Reply-To: <4.1.19981022125022.00986500@mail.elehost.com> from Paul MacKenzie at "Oct 22, 98 03:18:32 pm" To: paul@elehost.com (Paul MacKenzie) Date: Thu, 22 Oct 1998 15:00:05 -0500 (CDT) Cc: questions@FreeBSD.ORG (Questions FreeBSD) X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Paul MacKenzie said: > >The question I have is why can't you resolve without it. Where do you point > >resolv.conf other than localhost? What happens when the link is up and you > >try to run nslookup on the outside nameserver? > > When I dont have it running with the 127.0.0.1, then nothing resolves. I > point it to the two dns's on the other end of the ppp connection and for > some reason they dont sent any info back. When I set up the named it works > fine with the forwarders. I have checked what I think is everything and > nothing seems to work.. Ok, I'm a little confused here. Can you give some more info. 1) The ip addresses of the dns servers on the other end. 2) your resolv.conf file 3) ip config/ ppp config info. 4) named.boot (named.conf). You used the word forwarder. Are you not running a root.cache and depending on these servers as forwards? I'm guessing you get connected without 127.0.0.1 then added afterward and this works. Have you tried to watch what's happening with tcpdump? What are you trying to resolve? What does nslookup do? How long do you wait on ppp to come up. The timeout for a down dns server is fairly long (> 1 minute I recall). If you have your local dns just acting as a forwarder (as opposed to a secondary or a caching server) it will never work w/out the connection up. You didn't really give me any more information to work with here. We (the list) need diagnostic and configuration information to solve this. The biggest mistake you make is not copying questions. I can't solve every problem, but the brain power of the list usually can. This isn't my job, it isn't anyones. I only see email about 9 hours a day, and I'll probably be gone before you can respond to it. > I am worried if I have to manually add the 127.0.0.1 after connecting, once > it disconnects I am in trouble... :) > > I tried setting a local ip address on one of the network cards instead, and > PPP just wont do anything (it goes into interactive mode with a blank > screen and wont dial) I don't understand what you mean here. Is this machine acting as a gateway to the internet via this ppp connection? > > this is so frustrating > > thanks > > paul > > "Compassion is the only true answer to suffering" > Paul. -- You can listen to thunder after lightning and tell how close you came to getting hit. If you don't hear it, you got hit, so never mind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message