
evan at ebroder
Mar 13, 2012, 11:57 PM
Post #1 of 1
(307 views)
Permalink
|
|
[PATCH] Request and export Cisco Split DNS attribute
|
|
Hello - Please find attached a patch which requests the Cisco split DNS attribute and then exports it to the connect script if it's received. The attribute comes back as a NULL-terminated, comma-separated string listing the domains that should be looked up using the VPN's DNS servers. I've verified that the CISCO_SPLIT_DNS environment variable gets set when connecting to my company's VPN, which lists several internal domain names under the split-dns attribute. I added a comment about the variable to the top of the default vpnc-script, but I couldn't figure out whether any of the default config mechanisms in the vpnc-script would be able to do anything useful with that information. The Linux ones seemed unlikely since they all just set the default DNS server AFAICT. Thanks for your consideration, - Evan
|