Block certain TLD and domains

Hello.

I am currently running 4 Gl.Inet routers:

  • X750v2 (my countryside one)
  • MT3000 (my main home router, works via M2 dev board)
  • E750v2 (I am taking with me in trips)
  • SFT1200 (my parents main router)

All routers operated and set up by me.

So the thing is due to so much crap and propaganda I wanna BAN access to:

.ru
.su
.by
vk.com
yandex.*
zen.ru

For MT3000 this can be done via Adguard home. But what to do with other ones?

This I what I found:

uci add_list dhcp.@dnsmasq[0].server="/.tld/"
uci add_list dhcp.@dnsmasq[0].server="/example.com/"

But I am too confused.

Hugs from :de: :hugs:

Hello,

vi /etc/dnsmasq.conf

Add the domain to what you want to block:

address=/*.ru/0.0.0.0
address=/*.su/0.0.0.0
address=/*.by/0.0.0.0
address=/vk.com/0.0.0.0
address=/*.yandex.com/0.0.0.0
address=/zen.ru/0.0.0.0

Like, block the x.com: