this post was submitted on 14 Feb 2024
327 points (91.4% liked)

Programmer Humor

31793 readers
32 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 6 months ago (2 children)

Twice the latency for DNS results? Care to give concrete examples? DNS is usually very fast. Twice as long as very fast is still pretty quick, in my opinion.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

I'm always on VPN, so latencies add up.

dig +stats @1.1.1.1 www.google.com | grep '[\d]+ msec'

gives me 10-20ms using a nearby vpn server

dig +stats @9.9.9.9 www.google.com | grep '[\d]+ msec'

gets me 30-50 ms, and not rarely >100ms.

[–] sloppy_diffuser 1 points 5 months ago

Plus DNS caching... I do DOT or DOH (forget which, setup years ago) from my router's local DNS server without any noticeable latency.