Like Windows systems, Mac operating systems use a native DNS cache. However, the command you need to type to flush the DNS cache varies depending on the version installed. In any case, you will need the terminal for input. You can call it via the menu item « Utilities ».
For the macOS versions from 10.11 (El Capitan) as well as 10.7, 10.8 and 10.9the deletion command is as follows: