How I built ASK-DNS a DNS based search engine which works on UDP and is indeed faster than google search.

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 :

  1. npm i denamed.

  2. import a few libs like startUdpserver, createResponse, createTextanswer. these are enough to get you started.

  3. Import gemini or any of ur fav llms

  4. And enter an arrow func inside the startUpdserver

  5. 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 :

At the end setup the nodemon and npm run dev.

But how can I make it publically available ?