How I built ASK-DNS a DNS based search engine which works on UDP and is indeed faster than google search.
Step by Step guide to hack DNS
Hi, Everyone.
Recently I learned how we can create a custom DSN server using UDP protocol, and it can actually save a lot of time comparing it to a google search. This is what I am talking about :-
and ofc it won’t work offline.
But how to build something like this ?
Pick a tech Stack for me it’s node.js, every programming lang has some external libs to write and create your own DNS in JS it denamed lib.
P.S. ignore the API key I’ll delete it.
Here are a few commands :
npm i denamed.
import a few libs like startUdpserver, createResponse, createTextanswer. these are enough to get you started.
Import gemini or any of ur fav llms
And enter an arrow func inside the startUpdserver
at the pass the parameters and that’s pretty much all you need.
Didn’t get a single thing ?
let’s understand the code line by line :