From owner-freebsd-questions Mon Aug 21 11:58:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 02DAB37B422 for ; Mon, 21 Aug 2000 11:58:13 -0700 (PDT) Received: from parish.my.domain ([62.255.98.91]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000821185810.NYAE317.mta05-svc.ntlworld.com@parish.my.domain>; Mon, 21 Aug 2000 19:58:10 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA01703; Mon, 21 Aug 2000 19:58:06 +0100 (BST) (envelope-from mark) Date: Mon, 21 Aug 2000 19:58:05 +0100 From: Mark Ovens To: cjclark@alum.mit.edu Cc: Jeronimo Pellegrini , questions@freebsd.org Subject: Re: DNS setup question Message-ID: <20000821195805.F258@parish> References: <86ya1re0jg.fsf_-_@mpcnet.com.br> <20000820210416.Z28027@149.211.6.64.reflexcom.com> <20000821011652.A1228@socrates> <20000820222632.B28027@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20000820222632.B28027@149.211.6.64.reflexcom.com>; from cjclark@reflexnet.net on Sun, Aug 20, 2000 at 10:26:32PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Aug 20, 2000 at 10:26:32PM -0700, Crist J . Clark wrote: > On Mon, Aug 21, 2000 at 01:16:52AM -0300, Jeronimo Pellegrini wrote: > > On Sun, Aug 20, 2000 at 09:04:16PM -0700, Crist J . Clark wrote: > > > Just add, > > > > > > enable dns > > > > > To your ppp.conf. > > > > Thanks for your (very quick) reply! > > > > Er... That line is already there in ppp.conf. > > Maybe the lines are the wrong order? (I've included my ppp.conf in the > > last message. This is the part of it where that line appears. Is it > > wrong?) > > > > set timeout 0 > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > > add default HISADDR > > enable dns > > set authname --- > > set authkey --- > > Oops. Missed it. Didn't see anything else obvious. Could be that his ISP doesn't respond to requests for nameserver IP's (not sure what the correct term for this feature is). I had an ISP that didn't respond and so /etc/resolv.conf never got updated (and therefore still contained the IP's that were already there. My solution was to make /etc/resolv.gtw comtaining the nameserver entries for this ISP and put this is /etc/ppp/ppp.linkup, worked a treat: gateway: add! default HISADDR bg xtimer -geometry +704+724 shell cp /etc/resolv.gtw /etc/resolv.conf <<=== this line bg sendmail -q bg fetchmail -d 30 HTH > -- > Crist J. Clark cjclark@alum.mit.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message