News for hackers. Stuff that matters.
Re:DNS Toys by brian_cunnie on Saturday June 11, 2022 @04:22PM (#31707978)
This.

I measured the difference using `tcpdump`, and this was my conclusion:

> A big advantage of using DNS queries instead of HTTP queries is bandwidth: querying ns-aws.sslip.io requires a mere 592 bytes spread over 2 packets; Querying https://icanhazip.com/ requires 8692 bytes spread out over 34 packets—over 14 times as much! Admittedly bandwidth usage is a bigger concern for the one hosting the service than the one using the service.

(I had set up a service to determine your IP address via DNS, i.e. `dig @ns.sslip.io txt ip.sslip.io +short`, and measured why it was (marginally) better than using HTTP)

Re:DNS Toys by aq9 on Saturday June 11, 2022 @07:41PM (#31709591)
To be fair in the comparison; you can also query (via curl) icanhazip.com via HTTP instead of HTTPS, and it is only 5 packets and 385 bytes.
Re:DNS Toys by brian_cunnie on Sunday June 12, 2022 @08:09PM (#31719478)
Good catch!