Little late for the QnA but here it is. DNS is often fetched by intermediate servers. Your system is configured to use say 192.168.1.1 (your router), which in turn uses your ISP's DNS, which in-turn could be using n number of intermediate DNS servers. DNS is also cached, and TTL is sometimes not respected by intermediaries. Even if TTL was respected, due to the dynamic nature of requests and responses the caching mechanism in the intermediate DNS servers are going to be overwhelmed. All these systems would be designed with assumption that responses are short, TXT queries are rare, records, especially potentially long ones like TXT are not going to change that often. The whole caching mechanism will be optimized for the "normal" DNS use case. So widespread adoption of this technique could cause some chaos.
@sineshkumarr17 күн бұрын
What a day! I just configured one dns server and got to see an amazing use case.
@69k_goldАй бұрын
DNS as efficient as it may, is still an application layer protocol. So it's still an abstraction over UDP, and not only do DNS servers treat it as such, like caching results etc, but the whole "no need to install a client to use this service" is counterintuitive to the data efficiency argument. Your own application layer program, is still the most efficient possible protocol there can be. So by just writing something as simple as a bash script or a powershell script, whose whole job is to send a udp datagram of a string without newlines to a server you host, is still the most efficient way to have a highly efficient service
@Serizon_27 күн бұрын
Yes technically , this could be done but , but this still feels really cool. Though udp is unreliable , we could probably use something like reliable udp but IDK
@dhruvsolanki44732 ай бұрын
Learning about DNS from someone else's cool side project 😅
@fazalali2894Ай бұрын
Didn't click in my brain for a few hours that this is the CTO of Zerodha lol. Pretty cool to see a CTO that still has coding side projects!
@Serizon_27 күн бұрын
wait really , that's so cool
@theycallmeslothАй бұрын
lol i love this. im making use of this in my next project (i exactly needed something like this hahahha)