Editing this file requires administrative privileges. Follow these steps to ensure the changes stick: Find it in Applications > Utilities.

sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder

: Use the arrow keys to scroll to the bottom of the file and paste the block list. Save and Exit Control + O Control + X to exit the editor. Flush DNS Cache : To ensure changes take effect immediately, run: sudo killall -HUP mDNSResponder Better Alternatives & Best Practices