it's like Linktr.ee but home made
Blog Index| Last Post: godox lux jun...
by Polo Ornelas
The new cloudflared daemon doesn’t install like this, you have to install it on a different way and I advise you to go to DNSCrypt-proxy it provide better functionality and its easier to install;
There is a lot of tutorials for setting up DoH for pi-hole, however what about a simple(r) thing? just configure DoH to use on your local Linux, that’s a topic commonly ignored. This is useful if you are using Linux as a daily driver, you are trying to evade some kind of DNS blocking, or bypass crappy DNS servers from your ISP. The configuration involves installing cloudflared, configuring it as DNS proxy, and then configuring resolv to use your DNS proxy.
Let’s start with cloudflared, on this case the best way is to configure it to run as “root” because we will want to use a privileged port (53). You may need to change the download for your architecture; I’m using armv7 aka 32 bit raspberry.
For 64 bit raspberry use this instead the first line;
Then create the config file;
Add this configuration
Then install the service
The second part is to configure resolv to use our local DNS
Uncomment line #7 the one that says name_servers
this is the line you should uncomment (remove the #);
Then restart your raspberry, for some reason if you only restart the network it may not work. And that should be all, name resolution will now go via clodflared. If you are running on the command line there is really no way to test this because http://1.1.1.1/help uses javascript and neither links nor lynx are capable of running it. The only real test is to shutdown cloudflared.