If you need to flush a Mac's DNS cache, the following line will be helpful:
sudo dnscacheutil -flushcache
If you need to flush a Mac's DNS cache, the following line will be helpful:
sudo dnscacheutil -flushcache
As an example:
openssl s_client -connect imap.gmx.de:993 -quiet