TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A HOSTS file to block TikTok

3 pointsby jmacdover 2 years ago

1 comment

LinuxBenderover 2 years ago
This file has DNS servers and IP&#x27;s + IP&#x27;s. I think it needs some clean-up before anyone uses it. Consider sticking with the CDN domains and the names owned by TikTok to avoid blocking unrelated sites. Lines 35 through 50 will not do anything. The awsdns lines will not block anything unless these are being blocked in ones upstream DNS servers and would block a lot more than tiktok if this was done. [0]<p>Consider instead doing a &quot;grep tiktok | sort&quot; from this file [1] from this repo [2]<p>[0] - <a href="https:&#x2F;&#x2F;www.robtex.com&#x2F;dns-lookup&#x2F;ns-1475.awsdns-56.org" rel="nofollow">https:&#x2F;&#x2F;www.robtex.com&#x2F;dns-lookup&#x2F;ns-1475.awsdns-56.org</a><p>[1] - <a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;badmojr&#x2F;1Hosts&#x2F;master&#x2F;mini&#x2F;hosts.txt" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;badmojr&#x2F;1Hosts&#x2F;master&#x2F;mini...</a><p>[2] - <a href="https:&#x2F;&#x2F;github.com&#x2F;badmojr&#x2F;1Hosts">https:&#x2F;&#x2F;github.com&#x2F;badmojr&#x2F;1Hosts</a>