You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/derp
Brad Fitzpatrick 2cff9016e4 net/dnscache: add overly simplistic DNS cache package for selective use
I started to write a full DNS caching resolver and I realized it was
overkill and wouldn't work on Windows even in Go 1.14 yet, so I'm
doing this tiny one instead for now, just for all our netcheck STUN
derp lookups, and connections to DERP servers. (This will be caching a
exactly 8 DNS entries, all ours.)

Fixes #145 (can be better later, of course)
6 years ago
..
derphttp net/dnscache: add overly simplistic DNS cache package for selective use 6 years ago
derp.go derp: protocol negotiation, add v2: send src pub keys to clients in packets 6 years ago
derp_client.go derp: protocol negotiation, add v2: send src pub keys to clients in packets 6 years ago
derp_server.go derp: protocol negotiation, add v2: send src pub keys to clients in packets 6 years ago
derp_test.go derp: protocol negotiation, add v2: send src pub keys to clients in packets 6 years ago