[plug] PPP on demand

John Summerfield summer at OS2.ami.com.au
Fri Feb 11 08:42:52 WST 2000


> Christian wrote:
> > 
> > Peter Wright wrote:
> > >
> > > Perhaps this situation could be avoided to some degree by running a
> > > domain namer server on the server machine....?
> > 
> > It may help some of the time... but other times it won't help at all
> > since BIND would just then helpfully try and resolve the address [1]
> > which would still cause the link to be brought up. :)
> 
> This is dead simple.. I take down bind when the link goes down, and
> bring it back up when the link goes up..
> To bring up the link from any windows box, I have a shortcut that
> pings an outside ip address, no dns needed. That way the box only 
> comes up when someone needs it, and it goes down when it gets
> disconnected..

How do you avoid DNS timeouts when sending mail? At this moment, my BIND 
has many external entries cached. If I take it down, the cache is lost 
when it restarts.

I've been thinking further; presumably if there are no routes set to use 
the ppp0 interface, pppd won't dial on demand.

If you have just one set; perhaps to www.microsoft.com, then a ping to 
MS's IP address should get things moving.


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.





More information about the plug mailing list