Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2000 19:58:05 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        cjclark@alum.mit.edu
Cc:        Jeronimo Pellegrini <pellegrini@mpcnet.com.br>, questions@freebsd.org
Subject:   Re: DNS setup question
Message-ID:  <20000821195805.F258@parish>
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
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000821195805.F258>