Pi-Hole – is a shell-script based project that manages blocklists of known advertisements and malware and seamlessly interacts with dnsmasq to simply drop all any request to a known bad-actor. Pi-hole replaces your router as the LAN’s DNS so all requests go through it without the need to install anything on the client-side
Installation by running one command
# curl -sSL https://install.pi-hole.net | bash
Update by running one command