In June there was a thread entitled 'Temporarily changing DNS
servers and
search domains in Tiger" which I've read with interest. I've been
experimenteing with the suggestions offered in that thread with
little
little success.
In my 'vpn-ish' application I too am using the tun device. Prior to
Tiger I modified resolv.conf when I wanted to add additional
nameservers
(at the beginning of the list) and also an additional domains on the
'search' line.
Following up my own post, after some more work I've had limited
success.
But it would be great if someone could point me to some good
documentation
to how the 'new' DNS stuff works, what keys are reguired (looks like
SupplementalMatchDomains is key in some way) and how they all
interact.
The SupplementalMatchDomains key comes into play when you have a
(non-"primary") service that wants to direct DNS requests for
specific domain names to an alternate set of servers. For example,
let's say you have a service which includes the following DNS
dictionary :
In this case, any DNS queries for "foo.com" domain will be directed
to the 10.0.1.1 [DNS] server.
If this is the "primary" service than the SupplementalMatchDomains
key is ignored (and we use the DomainName and SearchDomains keys to
establish the baseline DNS configuration).