I have a ppp dial in to work and a ppp dial in to my ISP. For each
I want different domains to be searched and different name servers.
I can't put all the name servers in because the total is 5 while
resolv.conf supports only three. In any case if I put three of
the name servers in and add all the domains I want to search as if
local when connected to both places then the performance sucks.
What I really want is for the ppp connection to add the name
servers and search domains when connecting and remove them
when disconnecting. Wandering through the various guides hasn't
really informed me what the right way to do this is.
Before I upgraded the linux I use I actually had
a script that linked to a different version of resolv.conf before
invoking pppd. The latest resolver, however, doesn't seem to
check that resolv.conf has changed and re-init anymore so this
no longer works.
Thanks for any help.