[HN Gopher] RethinkDNS Resolver That Deploys to CF Workers, Deno...
       ___________________________________________________________________
        
       RethinkDNS Resolver That Deploys to CF Workers, Deno Deploy,
       Fastly, Fly.io
        
       Author : indigodaddy
       Score  : 59 points
       Date   : 2025-05-03 18:04 UTC (4 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | chrisweekly wrote:
       | Cool! "Pi-hole -esque" is a nice descriptor.
       | 
       | Tangent: Bunny.net is my new favorite CDN / cloud service
       | provider. They have scriptable DNS too.
        
       | Onavo wrote:
       | The Rethink DNS mobile app hasn't seen a release in years. Is the
       | project still alive?
       | 
       | https://github.com/celzero/rethink-app
        
         | ementally wrote:
         | >in years.
         | 
         | not even past 1 year.
         | 
         | See https://github.com/celzero/rethink-app/discussions/1884
        
           | withinboredom wrote:
           | > the development happens on the lead developer's feature
           | branch
           | 
           | Oof. This makes me cringe so hard. I once took over a project
           | (but the developer didn't know they were getting fired) and
           | the guy was doing everything on his laptop, from his laptop.
           | Deployments and builds were from his laptop. Even
           | dependencies weren't checked into the code (using global
           | installs of them on unknown versions). The owner had me come
           | in because after talking to several people realized he was in
           | a bad place.
           | 
           | It took me ~2 months to learn everything and document all the
           | things. Then the owner fired him. That guy kept development
           | back for so long by simply not documenting/sharing code and
           | configuration. Now there's an entire team with a healthy
           | development flow. But wow, I had some flashbacks reading
           | that...
        
       | maxloh wrote:
       | I doubt their choice of implementing something so performance-
       | critical as a DNS server in JavaScript. It seems like a slow
       | language for that purpose.
       | 
       | When I was looking for ad-block solutions on Android, Rethink DNS
       | was actually on the top of my list. However, when I found out
       | that their server was written in JavaScript, I did some
       | benchmarking.
       | 
       | Rethink's server processed DNS requests in 400-500ms, which could
       | potentially make a new webpage render up to half a second slower
       | the first time:                 ~ > curl -w "DNS Time:
       | %{time_namelookup}s\nConnect: %{time_connect}s\nTotal:
       | %{time_total}s\n" -H "accept: application/dns-message" -H
       | "content-type: application/dns-message" --data "<binary-data>" -o
       | nul -s https://sky.rethinkdns.com/1:6AcDACIBLIDAAFQwIAAACA==
       | DNS Time: 0.004995s       Connect: 0.142332s       Total:
       | 0.462496s
       | 
       | While the Cloudflare's server took just 5-10ms, as seen below:
       | ~ > curl -w "DNS Time: %{time_namelookup}s\nConnect:
       | %{time_connect}s\nTotal: %{time_total}s\n" -H "accept:
       | application/dns-message" -H "content-type: application/dns-
       | message" --data "<binary-data>" -o nul -s 1.1.1.1       DNS Time:
       | 0.000026s       Connect: 0.006273s       Total: 0.008822s
       | 
       | In the end, I chose AdAway and have stuck to that choice.
        
       ___________________________________________________________________
       (page generated 2025-05-03 23:00 UTC)