On Sun, Dec 06, 1998 at 11:45:47AM -0500, AJ wrote: > 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.. > So is there any file i can edit to specify what file i want to use? > > AJ
Since resolv.conf doesn't directly have anything to do with ppp you would probably have to have some kind of script in /etc/ppp/ip-up.d that would check the new ip address and rotate resolv.conf's based on that. So you would have: /etc/resolv.conf.isp1 /etc/resolv.conf.isp2 /etc/resolv.conf the script would check the ip and do a `cp -f /etc/resolv.conf.isp? /etc/resolv.conf' depending on which isp you connected to. There may be an easier way, but this is off the top of my head. -- ----- -- - -------- --------- ---- ------- ----- - - --- -------- Ben Collins <[EMAIL PROTECTED]> Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] ------ -- ----- - - ------- ------- -- The Choice of the GNU Generation