[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resolve.conf specification



> AJ writes:
> > hey i was wondering if when u did 'pppconfig' and created a new ppp
> > account if u can specify what /etc/recolve.conf file u want cause i have
> > access to a few ISPs around here that use different primary/secondary dns
> > entries..
> 
> At present there is no simple way to use a different set of nameservers
> with each ISP.
> 
> > So is there  any file i can edit to specify what file i want to use?
> 
> The nameservers are in /etc/resolv.conf.  For now the simplest solution is
> just to pick one ISP and use his nameservers all the time.

wouldn't it be possibile to make a bunch of files, called
/etc/resolv.cont.isp1
/etc/resolv.cont.isp2
..
/etc/resolv.cont.ispN
and symlink one of them to /etc/resolv.conf when a call is made to the isp 
(HUPing named, of course)?

probably i'm missing something. it sounds too easy ..

-- 
||    || |||||||  Marco Frattola                     Microsoft is not the answer
||`..'|| |||...   Piacenza, Italy                    Microsoft is the question
|||  ||| |||''    mfrattola@enjoy.it                 "No" is the answer
|||  ||| |||      www.enjoy.it/users/~mk/index.html  Live Linux, live free!


Reply to: