teleport icon indicating copy to clipboard operation
teleport copied to clipboard

[vnet][3] DNS resolution

Open nklaassen opened this issue 9 months ago • 1 comments

This is the fourth in a series of PRs implementing Teleport VNet RFD. parent child

This PR adds DNS resolution for Teleport apps in any currently active Teleport profile. Each app is assigned a V6 IP address the first time a DNS A or AAAA record is queried for its public_addr. Since IPv4 isn't supported yet, we return a NoRecord response for A queries. Clients should use the v6 address they can get from an AAAA query.

TODO: Host configuration of the DNS nameserver is added in https://github.com/gravitational/teleport/pull/41032 TODO: TCP forwarding to the app works in the mocked testcase, but forwarding to real Teleport apps (along with app logins) is added in https://github.com/gravitational/teleport/pull/41033 TODO: Client caching is added in https://github.com/gravitational/teleport/pull/41033 TODO: custom DNS zones and leaf cluster support (coming in a future PR)

nklaassen avatar Apr 30 '24 00:04 nklaassen

friendly ping @ibeckermayer or @EdwardDowling I'm looking for one more review on this one

nklaassen avatar May 08 '24 20:05 nklaassen

@ibeckermayer this is ready for another look

nklaassen avatar May 15 '24 20:05 nklaassen