From e89d8b5caf9bf7605d297f1e4258a5b2937a1e30 Mon Sep 17 00:00:00 2001 From: Brian Cunnie Date: Sun, 20 Jun 2021 13:45:05 -0700 Subject: [PATCH] Website: DNS queries are 14x more efficient ...than HTTPS queries. --- k8s/document_root/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k8s/document_root/index.html b/k8s/document_root/index.html index f7ed609..1bb08d9 100644 --- a/k8s/document_root/index.html +++ b/k8s/document_root/index.html @@ -213,6 +213,11 @@ dig @ns-aws.nono.io txt . +short -6 # forces IPv6 lookup; sample reply "2607:fb9 ipinfo.io (commercial) +

A big advantage of using DNS queries instead of HTTP queries is bandwidth: querying + ns-aws.nono.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.