domain name system – Why is ther no DNS after OpenVPN connect via Tunnelblick on OSX?

I have installed OpenVPN Server on a remote Ubunut 20.04 machine and I connect from Mac OS 11.4 to it via Tunnelblick.

The connection works, but I loose DNS. After the connect I can only use IP Adresses and no DNS resolution is possible anymore. I tried every setting in Tunnelblick I could think off, but no change. There is an older setup to another similar server that workes perfectly also via tunnel blick and I do not see any difference despite the IP Adress.

This seems to be a common problem as this tutorial is all about the problem, however in my case I could not figure out a way to get it to work. https://tunnelblick.net/cConnectedBut.html

I have set the google DNS servers within the clients DNS settings.

This is the log file from the client:

2021-05-29 23:02:06.802449 *Tunnelblick: macOS 11.4 (20F71); Tunnelblick 3.8.5a (build 5671); prior version 3.8.5 (build 5670)
2021-05-29 23:02:07.255442 *Tunnelblick: Attempting connection with m360 prod using shadow copy; Set nameserver = 769; monitoring connection
2021-05-29 23:02:07.256239 *Tunnelblick: openvpnstart start m360 prod.tblk 49921 769 0 1 0 34718000 -ptADGNWradsgnw 2.4.11-openssl-1.1.1k
2021-05-29 23:02:07.282309 *Tunnelblick: openvpnstart starting OpenVPN
2021-05-29 23:02:08.048682 OpenVPN 2.4.11 x86_64-apple-darwin (SSL (OpenSSL)) (LZO) (LZ4) (PKCS11) (MH/RECVDA) (AEAD) built on Apr 21 2021
2021-05-29 23:02:08.048832 library versions: OpenSSL 1.1.1k  25 Mar 2021, LZO 2.10
2021-05-29 23:02:08.055654 MANAGEMENT: TCP Socket listening on (AF_INET)127.0.0.1:49921
2021-05-29 23:02:08.055699 Need hold release from management interface, waiting...
2021-05-29 23:02:08.520898 *Tunnelblick: openvpnstart log:
     OpenVPN started successfully.
     Command used to start OpenVPN (one argument per displayed line):
          /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.4.11-openssl-1.1.1k/openvpn
          --daemon
          --log /Library/Application Support/Tunnelblick/Logs/-SUsers-Sandy-SLibrary-SApplication Support-STunnelblick-SConfigurations-Sm360 prod.tblk-SContents-SResources-Sconfig.ovpn.769_0_1_0_34718000.49921.openvpn.log
          --cd /Library/Application Support/Tunnelblick/Users/andy/m360 prod.tblk/Contents/Resources
          --machine-readable-output
          --setenv IV_GUI_VER "net.tunnelblick.tunnelblick 5671 3.8.5a (build 5671)"
          --verb 3
          --config /Library/Application Support/Tunnelblick/Users/andy/m360 prod.tblk/Contents/Resources/config.ovpn
          --setenv TUNNELBLICK_CONFIG_FOLDER /Library/Application Support/Tunnelblick/Users/andy/m360 prod.tblk/Contents/Resources
          --verb 3
          --cd /Library/Application Support/Tunnelblick/Users/andy/m360 prod.tblk/Contents/Resources
          --management 127.0.0.1 49921 /Library/Application Support/Tunnelblick/pdcdjeghcidlbmbjaeiljeabolbcfkaicmdkkpge.mip
          --management-query-passwords
          --management-hold
          --script-security 2
          --route-up /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -9 -d -f -m -o -w -ptADGNWradsgnw
          --down /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -o -w -ptADGNWradsgnw
2021-05-29 23:02:08.529283 MANAGEMENT: Client connected from (AF_INET)127.0.0.1:49921
2021-05-29 23:02:08.554471 MANAGEMENT: CMD 'pid'
2021-05-29 23:02:08.554551 MANAGEMENT: CMD 'auth-retry interact'
2021-05-29 23:02:08.554672 MANAGEMENT: CMD 'state on'
2021-05-29 23:02:08.554734 MANAGEMENT: CMD 'state'
2021-05-29 23:02:08.554933 MANAGEMENT: CMD 'bytecount 1'
2021-05-29 23:02:08.556361 *Tunnelblick: Established communication with OpenVPN
2021-05-29 23:02:08.581476 *Tunnelblick: >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
2021-05-29 23:02:08.583078 MANAGEMENT: CMD 'hold release'
2021-05-29 23:02:08.585077 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2021-05-29 23:02:08.597350 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2021-05-29 23:02:08.597417 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2021-05-29 23:02:08.598459 TCP/UDP: Preserving recently used remote address: (AF_INET)65.21.89.153:1194
2021-05-29 23:02:08.598583 Socket Buffers: R=(786896->786896) S=(9216->9216)
2021-05-29 23:02:08.598599 UDPv4 link local: (not bound)
2021-05-29 23:02:08.598609 UDPv4 link remote: (AF_INET)65.21.89.153:1194
2021-05-29 23:02:08.598688 MANAGEMENT: >STATE:1622322128,WAIT,,,,,,
2021-05-29 23:02:08.649733 MANAGEMENT: >STATE:1622322128,AUTH,,,,,,
2021-05-29 23:02:08.649781 TLS: Initial packet from (AF_INET)65.21.89.153:1194, sid=916cb05c 49ea9ae4
2021-05-29 23:02:08.702226 VERIFY OK: depth=1, CN=Easy-RSA CA
2021-05-29 23:02:08.703008 VERIFY KU OK
2021-05-29 23:02:08.703071 Validating certificate extended key usage
2021-05-29 23:02:08.703091 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2021-05-29 23:02:08.703101 VERIFY EKU OK
2021-05-29 23:02:08.703110 VERIFY OK: depth=0, CN=server
2021-05-29 23:02:08.761808 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1586', remote='link-mtu 1602'
2021-05-29 23:02:08.761872 WARNING: 'cipher' is used inconsistently, local='cipher BF-CBC', remote='cipher AES-256-CBC'
2021-05-29 23:02:08.761897 WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
2021-05-29 23:02:08.762012 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
2021-05-29 23:02:08.762077 (server) Peer Connection Initiated with (AF_INET)65.21.89.153:1194
2021-05-29 23:02:10.008486 MANAGEMENT: >STATE:1622322130,GET_CONFIG,,,,,,
2021-05-29 23:02:10.008667 SENT CONTROL (server): 'PUSH_REQUEST' (status=1)
2021-05-29 23:02:10.058706 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.2 255.255.255.0,peer-id 1,cipher AES-256-GCM'
2021-05-29 23:02:10.058862 OPTIONS IMPORT: timers and/or timeouts modified
2021-05-29 23:02:10.058881 OPTIONS IMPORT: --ifconfig/up options modified
2021-05-29 23:02:10.058890 OPTIONS IMPORT: route options modified
2021-05-29 23:02:10.058900 OPTIONS IMPORT: route-related options modified
2021-05-29 23:02:10.058910 OPTIONS IMPORT: peer-id set
2021-05-29 23:02:10.058920 OPTIONS IMPORT: adjusting link_mtu to 1625
2021-05-29 23:02:10.058930 OPTIONS IMPORT: data channel crypto options modified
2021-05-29 23:02:10.058942 Data Channel: using negotiated cipher 'AES-256-GCM'
2021-05-29 23:02:10.059078 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-05-29 23:02:10.059131 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-05-29 23:02:10.059547 Opening utun (connect(AF_SYS_CONTROL)): Resource busy (errno=16)
2021-05-29 23:02:10.059583 Opening utun (connect(AF_SYS_CONTROL)): Resource busy (errno=16)
2021-05-29 23:02:10.059747 Opened utun device utun2
2021-05-29 23:02:10.059802 MANAGEMENT: >STATE:1622322130,ASSIGN_IP,,10.8.0.2,,,,
2021-05-29 23:02:10.059829 /sbin/ifconfig utun2 delete
                           ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
2021-05-29 23:02:10.066799 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
2021-05-29 23:02:10.066882 /sbin/ifconfig utun2 10.8.0.2 10.8.0.2 netmask 255.255.255.0 mtu 1500 up
2021-05-29 23:02:10.070217 /sbin/route add -net 10.8.0.0 10.8.0.2 255.255.255.0
                           add net 10.8.0.0: gateway 10.8.0.2
2021-05-29 23:02:10.076198 /sbin/route add -net 65.21.89.153 192.143.0.1 255.255.255.255
                           add net 65.21.89.153: gateway 192.143.0.1
2021-05-29 23:02:10.084088 /sbin/route add -net 0.0.0.0 10.8.0.1 128.0.0.0
                           add net 0.0.0.0: gateway 10.8.0.1
2021-05-29 23:02:10.087514 /sbin/route add -net 128.0.0.0 10.8.0.1 128.0.0.0
                           add net 128.0.0.0: gateway 10.8.0.1
                           23:02:10 *Tunnelblick:  **********************************************
                           23:02:10 *Tunnelblick:  Start of output from client.up.tunnelblick.sh
                           23:02:12 *Tunnelblick:  NOTE: No network configuration changes need to be made.
                           23:02:12 *Tunnelblick:  WARNING: Will NOT monitor for other network configuration changes.
                           23:02:12 *Tunnelblick:  WARNING: Will NOT disable IPv6 settings.
                           23:02:12 *Tunnelblick:  DNS servers '8.8.8.8 8.8.4.4' will be used for DNS queries when the VPN is active
                           23:02:12 *Tunnelblick:  The DNS servers include only free public DNS servers known to Tunnelblick.
                           23:02:12 *Tunnelblick:  Flushed the DNS cache via dscacheutil
                           23:02:12 *Tunnelblick:  /usr/sbin/discoveryutil not present. Not flushing the DNS cache via discoveryutil
                           23:02:12 *Tunnelblick:  Notified mDNSResponder that the DNS cache was flushed
                           23:02:12 *Tunnelblick:  Not notifying mDNSResponderHelper that the DNS cache was flushed because it is not running
                           23:02:12 *Tunnelblick:  End of output from client.up.tunnelblick.sh
                           23:02:12 *Tunnelblick:  **********************************************
2021-05-29 23:02:12.459253 Initialization Sequence Completed
2021-05-29 23:02:12.459475 MANAGEMENT: >STATE:1622322132,CONNECTED,SUCCESS,10.8.0.2,65.21.89.153,1194,,
2021-05-29 23:02:13.685928 *Tunnelblick: DNS address 8.8.4.4 is being routed through the VPN
2021-05-29 23:02:13.794665 *Tunnelblick: DNS address 8.8.8.8 is being routed through the VPN
2021-05-29 23:02:29.680839 *Tunnelblick: Disconnecting; 'Disconnect all' menu command invoked
2021-05-29 23:02:29.824428 *Tunnelblick: Disconnecting using 'kill'
2021-05-29 23:02:29.988280 event_wait : Interrupted system call (code=4)
2021-05-29 23:02:29.989151 /sbin/route delete -net 65.21.89.153 192.143.0.1 255.255.255.255
                           delete net 65.21.89.153: gateway 192.143.0.1
2021-05-29 23:02:29.991522 /sbin/route delete -net 0.0.0.0 10.8.0.1 128.0.0.0
                           delete net 0.0.0.0: gateway 10.8.0.1
2021-05-29 23:02:29.994161 /sbin/route delete -net 128.0.0.0 10.8.0.1 128.0.0.0
                           delete net 128.0.0.0: gateway 10.8.0.1
2021-05-29 23:02:29.997076 Closing TUN/TAP interface
2021-05-29 23:02:29.997536 /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -o -w -ptADGNWradsgnw utun2 1500 1553 10.8.0.2 255.255.255.0 init
                           23:02:30 *Tunnelblick:  **********************************************
                           23:02:30 *Tunnelblick:  Start of output from client.down.tunnelblick.sh
                           23:02:31 *Tunnelblick:  WARNING: Not restoring network settings because no saved Tunnelblick DNS information was found.
                           23:02:31 *Tunnelblick:  Flushed the DNS cache with dscacheutil -flushcache
                           23:02:31 *Tunnelblick:  Notified mDNSResponder that the DNS cache was flushed
                           23:02:31 *Tunnelblick:  End of output from client.down.tunnelblick.sh
                           23:02:31 *Tunnelblick:  **********************************************
2021-05-29 23:02:31.207592 SIGTERM(hard,) received, process exiting
2021-05-29 23:02:31.207660 MANAGEMENT: >STATE:1622322151,EXITING,SIGTERM,,,,,
2021-05-29 23:02:31.862451 *Tunnelblick: Expected disconnection occurred.