Thanks for the comments. I have the very latest version of
Tunnelblick. I see the message that the DNS cache is being cleared. As
noted above, both "/etc/resolv.conf" and "scutil --dns" correctly
report that my VPN gateway (172.16.1.1) is the nameserver domain and
search domain are "local," so everything is correct there. I tried
restarting the mDNSResponder process, to no avail. Nothing works. Both
of the "host" and "dig" commands resolve "lynyrd" and "lynyrd.local"
to 192.168.122.101, but no other applications (from ping to ssh to
Safari) can do so. This is very frustrating.
Here is the output of my VPN session (with sensitive information
masked):
2011-04-24 09:18:00 *Tunnelblick: Attempting connection with ___; Set
nameserver = 1; monitoring connection
2011-04-24 09:18:00 *Tunnelblick: /Applications/Tunnelblick.app/
Contents/Resources/openvpnstart start ___.tblk 1337 1 0 0 0 49
2011-04-24 09:18:00 OpenVPN 2.1.4 i386-apple-darwin10.7.1 [SSL] [LZO2]
[PKCS11] built on Mar 1 2011
2011-04-24 09:18:00 MANAGEMENT: TCP Socket listening on
127.0.0.1:1337
2011-04-24 09:18:00 Need hold release from management interface,
waiting...
2011-04-24 09:18:00 MANAGEMENT: Client connected from
127.0.0.1:1337
2011-04-24 09:18:00 MANAGEMENT: CMD 'pid'
2011-04-24 09:18:00 MANAGEMENT: CMD 'state on'
2011-04-24 09:18:00 MANAGEMENT: CMD 'state'
2011-04-24 09:18:00 MANAGEMENT: CMD 'hold release'
2011-04-24 09:18:00 WARNING: No server certificate verification method
has been enabled. See
http://openvpn.net/howto.html#mitm for more
info.
2011-04-24 09:18:00 NOTE: the current --script-security setting may
allow this configuration to call user-defined scripts
2011-04-24 09:18:00 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:
0 ET:0 EL:0 ]
2011-04-24 09:18:00 Socket Buffers: R=[42080->65536] S=[9216->65536]
2011-04-24 09:18:00 MANAGEMENT: >STATE:1303654680,RESOLVE,,,
2011-04-24 09:18:00 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4
ET:0 EL:0 ]
2011-04-24 09:18:00 Local Options hash (VER=V4): '3514370b'
2011-04-24 09:18:00 Expected Remote Options hash (VER=V4): '239669a8'
2011-04-24 09:18:00 UDPv4 link local: [undef]
2011-04-24 09:18:00 UDPv4 link remote: x.x.x.x:1194
2011-04-24 09:18:00 MANAGEMENT: >STATE:1303654680,WAIT,,,
2011-04-24 09:18:00 MANAGEMENT: >STATE:1303654680,AUTH,,,
2011-04-24 09:18:00 TLS: Initial packet from x.x.x.x:1194,
sid=0e61cef0 c3ee5a8e
2011-04-24 09:18:00 *Tunnelblick: openvpnstart: /Applications/
Tunnelblick.app/Contents/Resources/openvpn --cd /Users/Nicholas/
Library/Application Support/Tunnelblick/Configurations/____.tblk/
Contents/Resources --daemon --management 127.0.0.1 1337 --config /
Users/Nicholas/Library/Application Support/Tunnelblick/Configurations/
____.tblk/Contents/Resources/config.ovpn --log /Library/Application
Support/Tunnelblick/Logs/-SUsers-SNicholas-SLibrary-SApplication
Support-STunnelblick-SConfigurations-S____.tblk-SContents-SResources-
Sconfig.ovpn.1_0_0_0_49.1337.openvpn.log --management-query-passwords
--management-hold --script-security 2 --up /Applications/
Tunnelblick.app/Contents/Resources/
client.up.tunnelblick.sh -m -w -d --
down /Applications/Tunnelblick.app/Contents/Resources/
client.down.tunnelblick.sh -m -w -d --up-restart
2011-04-24 09:18:01 VERIFY OK: depth=1, /C=US/ST=TN/L=____/O=NWTS/
CN=_____CA/name=____/emailAddress=noc@____.net
2011-04-24 09:18:01 VERIFY OK: depth=0, /C=US/ST=TN/L=____/O=NWTS/
CN=server/name=____/emailAddress=noc@____.net
2011-04-24 09:18:01 Data Channel Encrypt: Cipher 'BF-CBC' initialized
with 128 bit key
2011-04-24 09:18:01 Data Channel Encrypt: Using 160 bit message hash
'SHA1' for HMAC authentication
2011-04-24 09:18:01 Data Channel Decrypt: Cipher 'BF-CBC' initialized
with 128 bit key
2011-04-24 09:18:01 Data Channel Decrypt: Using 160 bit message hash
'SHA1' for HMAC authentication
2011-04-24 09:18:01 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-
AES256-SHA, 1024 bit RSA
2011-04-24 09:18:01 [server] Peer Connection Initiated with x.x.x.x:
1194
2011-04-24 09:18:02 MANAGEMENT: >STATE:1303654682,GET_CONFIG,,,
2011-04-24 09:18:03 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
2011-04-24 09:18:03 PUSH: Received control message: 'PUSH_REPLY,dhcp-
option DNS 172.16.1.1,route 192.168.1.254 255.255.255.0,route
192.168.122.254 255.255.255.0,dhcp-option DOMAIN local,route-gateway
172.16.1.1,topology subnet,ping 10,ping-restart 60,ifconfig 172.16.1.3
255.255.255.0'
2011-04-24 09:18:03 OPTIONS IMPORT: timers and/or timeouts modified
2011-04-24 09:18:03 OPTIONS IMPORT: --ifconfig/up options modified
2011-04-24 09:18:03 OPTIONS IMPORT: route options modified
2011-04-24 09:18:03 OPTIONS IMPORT: route-related options modified
2011-04-24 09:18:03 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option
options modified
2011-04-24 09:18:03 ROUTE default_gateway=10.0.1.1
2011-04-24 09:18:03 TUN/TAP device /dev/tun0 opened
2011-04-24 09:18:03 MANAGEMENT: >STATE:1303654683,ASSIGN_IP,,
172.16.1.3,
2011-04-24 09:18:03 /sbin/ifconfig tun0 delete
ifconfig: ioctl (SIOCDIFADDR):
Can't assign requested address
2011-04-24 09:18:04 NOTE: Tried to delete pre-existing tun/tap
instance -- No Problem if failure
2011-04-24 09:18:04 /sbin/ifconfig tun0 172.16.1.3 172.16.1.3 netmask
255.255.255.0 mtu 1500 up
2011-04-24 09:18:04 /sbin/route add -net 172.16.1.0 172.16.1.3
255.255.255.0
add net
172.16.1.0: gateway
172.16.1.3
2011-04-24 09:18:04 /Applications/Tunnelblick.app/Contents/Resources/
client.up.tunnelblick.sh -m -w -d tun0 1500 1541 172.16.1.3
255.255.255.0 init
No such key
2011-04-24 09:18:04 MANAGEMENT: >STATE:1303654684,ADD_ROUTES,,,
2011-04-24 09:18:04 /sbin/route add -net 192.168.1.254 172.16.1.1
255.255.255.0
add net
192.168.1.254: gateway
172.16.1.1
2011-04-24 09:18:04 /sbin/route add -net 192.168.122.254 172.16.1.1
255.255.255.0
add net
192.168.122.254:
gateway 172.16.1.1
2011-04-24 09:18:04 Initialization Sequence Completed
2011-04-24 09:18:04 MANAGEMENT: >STATE:1303654684,CONNECTED,SUCCESS,
172.16.1.3,x.x.x.x
2011-04-24 09:18:04 *Tunnelblick
client.up.tunnelblick.sh: Up to two
'No such key' warnings are normal and may be ignored
2011-04-24 09:18:04 *Tunnelblick
client.up.tunnelblick.sh: Saved the
DNS and WINS configurations for later use
2011-04-24 09:18:04 *Tunnelblick
client.up.tunnelblick.sh: Set up to
monitor system configuration with leasewatch
2011-04-24 09:18:04 *Tunnelblick: Flushed the DNS cache
2011-04-24 09:18:09 *Tunnelblick leasewatch: A system configuration
change was ignored because it was not relevant
2011-04-24 09:22:20 event_wait : Interrupted system call (code=4)
2011-04-24 09:22:20 TCP/UDP: Closing socket
2011-04-24 09:22:20 /sbin/route delete -net 192.168.122.254 172.16.1.1
255.255.255.0
route: writing to routing
socket: No such process
delete net
192.168.122.254:
gateway
172.16.1.1: not in table
2011-04-24 09:22:20 /sbin/route delete -net 192.168.1.254 172.16.1.1
255.255.255.0
route: writing to routing
socket: No such process
delete net
192.168.1.254:
gateway
172.16.1.1: not in table
2011-04-24 09:22:20 Closing TUN/TAP interface
2011-04-24 09:22:20 /Applications/Tunnelblick.app/Contents/Resources/
client.down.tunnelblick.sh -m -w -d tun0 1500 1541 172.16.1.3
255.255.255.0 init
2011-04-24 09:22:20 SIGTERM[hard,] received, process exiting
2011-04-24 09:22:20 MANAGEMENT: >STATE:1303654940,EXITING,SIGTERM,,
2011-04-24 09:22:20 *Tunnelblick
client.down.tunnelblick.sh: Cancelled
monitoring of system configuration changes
2011-04-24 09:22:20 *Tunnelblick
client.down.tunnelblick.sh: Restored
the DNS and WINS configurations
2011-04-24 09:22:21 *Tunnelblick: Flushed the DNS cache