DnsFlush
This is a quick and easy way to dump the local DNS for mac. It has only been tested on OS Sierra
If grump has not yet been installed, you can do so using:
npm i -g grump
Example usage:
grump dnsflush
see grumpjs.com to find other useful grumps!