> The problem was that I ran my own nameserver locally, and that was listed > first in resolv.conf. Even with the ppp link up, I'd prefer all DNS > lookups to hit the local server first
You can edit the resolv.conf for each provider in /etc/ppp/resolv . > have the new dns numbers appended to the list, rather than replacing it. The problem with this is that the resolver will only look at the first three nameserver lines. I'd have to do some fancy parsing to decide just where to insert the new nameservers so that they will be useful but not in the way. > You might want to take a look at the source for the pcmcia modules. > IIRC, they insert and remove dns numbers from resolv.conf when the > network card is plugged in. They use markers to delineate what they > added (something like '## inserted by cardmgr ##') I try to avoid schemes like this. They place restrictions on the file layout beyond those imposed by the package owner. It seems to me that you would want your named updated to use the current ISP's nameservers as forwarders, but I'm not sure how to handle it. There is a similar problem with nscd. Do you have any ideas? -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI