When troubleshooting DNS problems, I often use a combination of nslookup and ipconfig commands on a Windows system. And while the Mac has the nslookup command, I didn’t have an equivalent of ipconfig /flushdns until today.
lookupd -flushcache
And yes, I do enjoy being able to work on the Mac in a command-line environment.