For now, if you are using Hands Off, you can solve the problem by specifying (for each configuration) that Tunnelblick should not flush the DNS cache by un-checking the "Flush DNS cache after connecting or disconnecting" checkbox?
(From the configuration's "Settings" tab, click the "Advanced" button to get to this checkbox.)
I expect the next Tunnelblick beta to include a check for HandsOff, and if it is active, Tunnelblick will skip flushing the DNS cache automatically (after warning the user, if they have the checkbox checked).
Background
Hands Off uses mDNSResponder, which is also used by Tunnelblick to flush the DNS cache. Apparently this is what causes the problem. Per Hands Off tech support:
Hands Off! needs needs mDNSResponder in order to function. As far as I can see your script kills
mDNSResponder so it's normal for Hands Off! to act strangely: crash, hang and even kernel
panics.
If you absolutely need to run "/usr/bin/killall -HUP mDNSResponder" I suggest you either
disable Hands Off! or even uninstall it using the provided uninstaller.
(the script that is referred to is Tunnelblick's "Set nameserver" script.) Tunnelblick is using mDNSResponder to flush the DNS cache, per Apple's recommendation (
https://support.apple.com/kb/HT5343).