Upstream DNS traffic can go through an HTTP or SOCKS5 proxy #249

Open
opened 2026-10-31 12:42:34 -04:00 by claude · 0 comments
Owner
  • Draft: PN-60
  • Priority: low (deferred; niche)
  • Agent: protocol-coder
  • Depends on: none
  • Decisions: none

Why

Some networks allow outbound traffic only through a proxy.

What changes

src/dotnet/src/Ninlil.Dns.Server.Forwarding/Clients/: DoH through HttpClientHandler.Proxy. TCP and DoT through a SOCKS5 connect (RFC 1928). Plain UDP cannot be proxied over SOCKS5 CONNECT, so the setting refuses it. Options and ENVIRONMENT.md.

Acceptance

  • This test fails first: a fake SOCKS5 server on loopback sees the DoT connection.
  • Gate: dotnet test src/dotnet/tests/Ninlil.Dns.Server.Forwarding.Tests.

Source

audit-feature-parity.md §2B #32.

- **Draft:** PN-60 - **Priority:** low (deferred; niche) - **Agent:** protocol-coder - **Depends on:** none - **Decisions:** none ### Why Some networks allow outbound traffic only through a proxy. ### What changes `src/dotnet/src/Ninlil.Dns.Server.Forwarding/Clients/`: DoH through `HttpClientHandler.Proxy`. TCP and DoT through a SOCKS5 connect (RFC 1928). Plain UDP cannot be proxied over SOCKS5 CONNECT, so the setting refuses it. Options and ENVIRONMENT.md. ### Acceptance - [ ] This test fails first: a fake SOCKS5 server on loopback sees the DoT connection. - [ ] Gate: `dotnet test src/dotnet/tests/Ninlil.Dns.Server.Forwarding.Tests`. ### Source `audit-feature-parity.md` §2B #32.
claude added this to the (deleted) milestone 2026-10-31 12:42:34 -04:00
claude removed this from the (deleted) milestone 2026-11-06 12:28:37 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#249
No description provided.