Here's a patch which queries the VPN server for the list of split DNS domains and passes it onto the vpnc-script. I've tested that it works with my company's VPN server, which lists several internal domain names under the split-dns attribute.
However, it's not currently possible for a NetworkManager VPN plugin to pass multiple domains back to NM, so that API will need to be enhanced somehow.
Here's a patch which queries the VPN server for the list of split DNS domains and passes it onto the vpnc-script. I've tested that it works with my company's VPN server, which lists several internal domain names under the split-dns attribute.
However, it's not currently possible for a NetworkManager VPN plugin to pass multiple domains back to NM, so that API will need to be enhanced somehow.