News for hackers. Stuff that matters.
Re:Why is DNS resolution via UDP faster than TCP on Mac? by SkyLinx on Thursday January 19, 2023 @07:33AM (#34439630)
That's why I think it may be a problem on Macs, because I don't see the same issue on Linux either. I am not familiar with Wireshark. What should I be looking for? I tried but there's a lot of information for each packet.
Re:Why is DNS resolution via UDP faster than TCP on Mac? by svet_0 on Thursday January 19, 2023 @07:37AM (#34439660)
Filter by "ip.addr == 1.1.1.1" and look at the "Time" column. With UDP you'll see 2 datagrams - request and response. TCP you'll see a SYN,SYNACK,ACK handshake and then 2 segments. TLS you'll see a longer handshake and then (encrypted) request and response (2 segments).
Re:Why is DNS resolution via UDP faster than TCP on Mac? by SkyLinx on Thursday January 19, 2023 @07:51AM (#34439750)
Wow now I am even more confused. The Time column shows 3.67 for UDP and 7.32 for TCP. This seems to suggest that UDP is faster, but dig commands show the opposite. Why is that?