Pi-hole
Pi-hole is a network-level advertisement and tracker blocking application. It acts as a DNS sinkhole and optionally a DHCP server. It is designed to run on a Raspberry Pi but can be installed on any Linux machine.
Pi-hole has the ability to block traditional website advertisements as well as advertisements in unconventional places, such as smart TV's and mobile operating systems. It also functions as a network monitoring tool allowing for troubleshooting of DNS requests and network faults.
To find out more about this self-hosted DNS server you can visit their website here.