I was interested and searching about the size of a DNS request to have some idea if on a satellite or slow link with limited downloads.
After running the dig command on a few sites I looked at the results the delay is very low from have understood it to be from another program.
The delay from my PC to the Pi is 3-4 mS its WIFI.
Once it is in the cache its 5-6 mS to complete the request with nearly 1 million being in blocklist.
https://serverfault.com/questions/79424/estimating-dns-bandwidth-average-size-of-a-dns-request
dig linux.org +stats
; <<>> DiG 9.10.3-P4-Ubuntu <<>> linux.org +stats
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33874
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 5
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;linux.org. IN A
;; ANSWER SECTION:
linux.org. 300 IN A 104.28.17.26
linux.org. 300 IN A 104.28.16.26
;; AUTHORITY SECTION:
linux.org. 59403 IN NS lia.ns.cloudflare.com.
linux.org. 59403 IN NS mark.ns.cloudflare.com.
;; ADDITIONAL SECTION:
lia.ns.cloudflare.com. 70618 IN A 173.245.58.185
mark.ns.cloudflare.com. 65083 IN A 173.245.59.130
lia.ns.cloudflare.com. 70618 IN AAAA 2400:cb00:2049:1::adf5:3ab9
mark.ns.cloudflare.com. 76378 IN AAAA 2400:cb00:2049:1::adf5:3b82
;; Query time: 95 msec
;; SERVER: 192.168.1.5#53(192.168.1.5)
;; WHEN: Sun Oct 22 18:30:30 AWST 2017
;; MSG SIZE rcvd: 212
dig facebook.com +stats
; <<>> DiG 9.10.3-P4-Ubuntu <<>> facebook.com +stats
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27521
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;facebook.com. IN A
;; ANSWER SECTION:
facebook.com. 300 IN A 192.168.1.5
;; Query time: 5 msec
;; SERVER: 192.168.1.5#53(192.168.1.5)
;; WHEN: Sun Oct 22 18:31:31 AWST 2017
;; MSG SIZE rcvd: 57
dig linux.org +stats
; <<>> DiG 9.10.3-P4-Ubuntu <<>> linux.org +stats
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25218
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;linux.org. IN A
;; ANSWER SECTION:
linux.org. 173 IN A 104.28.16.26
linux.org. 173 IN A 104.28.17.26
;; Query time: 6 msec
;; SERVER: 192.168.1.5#53(192.168.1.5)
;; WHEN: Sun Oct 22 18:32:38 AWST 2017
;; MSG SIZE rcvd: 70
I would like someone to rewrite what I have typed eg In English for non technical users.
I could not find the block of code function in the forum
it does change the font.