github / gh-net

A network bridge between a Codespace and a local machine.
https://github.com/github/gh-net
285 stars 21 forks source link

[linux]: DNS queries for AAAA records can cause infinite loop on linux machines #18

Closed legomushroom closed 2 years ago

legomushroom commented 2 years ago

We recently stopped to respond with NXDOMAIN answers for unknown DNS domains on the "local" side, but the "remote" side was not fully updated yet. This might cause infinite DNS solicitation request loop.

Reproduce steps

  1. Start the extension on host that does not respond with IPv4-mapped IPv6 addresses.
  2. Make an DNS resolution request for an IPv6 address inside a Codespace.
  3. Notice that it is never resolved and might cause subsequent DNS requests to hang.
legomushroom commented 2 years ago

Fixed in v0.6.4 🎉