To disable this, execute
brew analytics off brew analytics offAnyway this option should have been available in their man page. But anyway they have clearly mentioned it.
https://github.com/Homebrew/brew/blob/master/docs/Analytics....
If they want data, I will happily fill up their survey form but please don't take it for granted that my personal data is yours otherwise I may go to China for their great wall.
The entries look like this:
address=/doubleclick.net/0.0.0.0
address=/gravity.com/0.0.0.0
address=/outbrain.com/0.0.0.0
...
Then set up the router's DHCP to use this server.