RiiConnect24 / DNS-Server

This server will allow you to connect to RiiConnect24 Servers when your Internet Service Provider does not work allow using Custom DNS.
MIT License
47 stars 22 forks source link

Add Adguard Home redirection list. #30

Closed Linx-ESP closed 9 months ago

Linx-ESP commented 1 year ago

Format for Adguard Home blocklist, so it can auto udpate. The hosts file doesn't seem to be fully compatible:

This way it shows as "Rewrite" in the WebGUI.

I will add a section in the README like the one to use it in PiHole if wanted.

Adguard docs about blocklist formatting

freshgum-bubbles commented 1 year ago

Perhaps a script that generates these values from the source text would be better? That would help ensure that both copies are in-sync.

This would be a really big win IMO, as anyone using AdGuard Home doesn't then (hi) need to use the RiiConnect24 server at all -- this would, of course, save bandwidth costs (and would cut down on latency). :+1:

Linx-ESP commented 9 months ago

If someone could make a script (event better, a github workflow) it just needs to replace space with ^$dnsrewrite=NOERROR;A; and add || a the beggining of each line