<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Brixdorf</title>
    <description>The latest articles on DEV Community by Brixdorf (@brixdorf).</description>
    <link>https://dev.to/brixdorf</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3277472%2Fdb559bfa-3568-425b-8426-aca40365baec.png</url>
      <title>DEV Community: Brixdorf</title>
      <link>https://dev.to/brixdorf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brixdorf"/>
    <language>en</language>
    <item>
      <title>Remove Internet Junk from Ground Up: A DNS-Based Approach</title>
      <dc:creator>Brixdorf</dc:creator>
      <pubDate>Sat, 21 Jun 2025 08:32:53 +0000</pubDate>
      <link>https://dev.to/brixdorf/remove-internet-junk-from-ground-up-a-dns-based-approach-18jk</link>
      <guid>https://dev.to/brixdorf/remove-internet-junk-from-ground-up-a-dns-based-approach-18jk</guid>
      <description>&lt;p&gt;We're all familiar with the usual suspects during our daily internet browsing: ads, trackers and those annoying cookie banners. It's hard to find someone who isn't affected by them. We call them colloquially as "internet junk", but how do we get rid of them?&lt;/p&gt;

&lt;p&gt;Some of you savvy folks might say, &lt;em&gt;"Well, use Brave"&lt;/em&gt;, and yes, that is a fairly popular ad/tracker blocking browser, but that's limited to your browser, right? Are the ads and trackers limited to your browser only? What about your operating system? Windows, Android, even Apple's multiverse of OSes? Those are still out in the open, tracking your every moment.&lt;/p&gt;

&lt;p&gt;So, how do we deal with this? How can we make sure, that every internet-connected device we use, is free of all the internet junk? Is there any way we can clear this problem from its root? Well, the answer lies in &lt;strong&gt;DNS&lt;/strong&gt;!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fezdj5yvh6coo1xzyd2ho.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fezdj5yvh6coo1xzyd2ho.jpg" alt="Domain Name System" width="800" height="560"&gt;&lt;/a&gt;&lt;br&gt;
Image by &lt;em&gt;&lt;a href="https://www.vecteezy.com/members/107788168729305739191" rel="noopener noreferrer"&gt;Raj Zala&lt;/a&gt;&lt;/em&gt; on &lt;a href="https://www.vecteezy.com/" rel="noopener noreferrer"&gt;Vecteezy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For those of you who are not aware about DNS, basically it's a system which translates website names (for eg. &lt;a href="http://www.netflix.com" rel="noopener noreferrer"&gt;www.netflix.com&lt;/a&gt;) to their respective IP addresses that your device can understand. After all, your system only understands numbers.&lt;/p&gt;

&lt;p&gt;Now the task of converting website names to IPs is handled by DNS, and this is also the place where the ads and trackers creep in. By default, the DNS resolvers of any system are generally of Google or of your telecom provider, these resolve every URL inside the network, including the junk. If we are able to control our resolvers, we can essentially stop all incoming traffic which is unnecessary.&lt;/p&gt;

&lt;p&gt;And for achieving this, we are going to use a tool called NextDNS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fok5tei7zfz37y8dbs65b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fok5tei7zfz37y8dbs65b.png" alt="NextDNS" width="562" height="185"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Head over to &lt;a href="https://nextdns.io/" rel="noopener noreferrer"&gt;nextdns.io&lt;/a&gt; and click on "Try it now". &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsf98lg8qfdc51apt76cy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsf98lg8qfdc51apt76cy.png" alt="NextDNS Dashboard" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The ID that I have highlighted above is the bread-and-butter of our configuration. This ID is unique to our setup, and this will ensure that our settings are applied across all our devices.&lt;/p&gt;

&lt;p&gt;To enable ad and tracker blocking, we first have to change some settings. Head over to the &lt;strong&gt;Security&lt;/strong&gt; tab and then enable the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-Driven Threat Detection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then head over to the &lt;strong&gt;Privacy&lt;/strong&gt; tab and enable these blocklists:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;NextDNS Ads &amp;amp; Trackers Blocklist&lt;/li&gt;
&lt;li&gt;AdGuard DNS filter&lt;/li&gt;
&lt;li&gt;OISD&lt;/li&gt;
&lt;li&gt;AdGuard Mobile Ads filter&lt;/li&gt;
&lt;li&gt;EasyList&lt;/li&gt;
&lt;li&gt;AdGuard Tracking Protection filter&lt;/li&gt;
&lt;li&gt;AdGuard Base filter&lt;/li&gt;
&lt;li&gt;Steven Black&lt;/li&gt;
&lt;li&gt;EasyPrivacy&lt;/li&gt;
&lt;li&gt;NSABlocklist&lt;/li&gt;
&lt;li&gt;Fanboy's Annoyance List&lt;/li&gt;
&lt;li&gt;HaGeZi - Multi PRO++&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are the most common and actively updated blocklists which would be more than enough to block majority of ads and trackers.&lt;/p&gt;

&lt;p&gt;Also, don't forget to enable Native Tracking Protection for your devices..&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsb7p1lc5vs0kczkkd7k4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsb7p1lc5vs0kczkkd7k4.png" alt="Native Tracking Protection" width="800" height="605"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally, enter to the &lt;strong&gt;Settings&lt;/strong&gt; tab and in the &lt;strong&gt;Performance window&lt;/strong&gt;, enable all the settings to improve your speed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxk21lbugj1nsk6dol95q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxk21lbugj1nsk6dol95q.png" alt="Performance Settings" width="800" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Essentially, you can change your data storage location to Switzerland (🇨🇭) for maximum privacy (they have the strictest privacy laws).&lt;/p&gt;

&lt;p&gt;So, here we are, you have configured every setting that is required to achieve our goal, the final step is the enable NextDNS on your system. Applications for &lt;a href="https://nextdns.io/download/windows/stable" rel="noopener noreferrer"&gt;Windows&lt;/a&gt;, &lt;a href="https://apps.apple.com/app/nextdns/id1463342498" rel="noopener noreferrer"&gt;iOS&lt;/a&gt; and &lt;a href="https://apps.apple.com/app/nextdns/id1464122853" rel="noopener noreferrer"&gt;macOS&lt;/a&gt; are available.&lt;/p&gt;

&lt;p&gt;For Android and Linux, Setup instructions are clearly given on the &lt;strong&gt;Setup&lt;/strong&gt; page.&lt;/p&gt;

&lt;p&gt;After you have set NextDNS as your DNS resolver, you will see this message on your dashboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw39r4azoaict80sa247l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw39r4azoaict80sa247l.png" alt="Setup Complete!" width="404" height="86"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And voila 🎉! Your work is done! Now you are free of all ads and trackers across your every device.&lt;/p&gt;

&lt;p&gt;I've been using this service for over a week and take a look over my usage statistics:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe588k3bzxv5uo11rb79d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe588k3bzxv5uo11rb79d.png" alt="My Usage Statistics" width="800" height="189"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fydtn7l8xhirqwbsexw57.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fydtn7l8xhirqwbsexw57.png" alt="NextDNS App Example" width="800" height="807"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It just works!&lt;/p&gt;

&lt;p&gt;P.S. If you want even more control over your DNS resolvers, you can host one of your own using &lt;a href="https://pi-hole.net/" rel="noopener noreferrer"&gt;Pi-hole&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Cover Image by &lt;a href="https://www.vecteezy.com/members/rajajameeelakhtar" rel="noopener noreferrer"&gt;JM Grafix&lt;/a&gt; on &lt;a href="https://www.vecteezy.com/" rel="noopener noreferrer"&gt;Vecteezy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Image used in Screenshot courtesy of &lt;a href="https://www.fcbarcelona.com/en/" rel="noopener noreferrer"&gt;FC Barcelona&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dns</category>
      <category>privacy</category>
      <category>security</category>
    </item>
  </channel>
</rss>
