[GH-ISSUE #8] Support jump hosts? #7

Open
opened 2026-02-26 17:45:09 +03:00 by kerem · 3 comments
Owner

Originally created by @dragonpaw on GitHub (Jul 11, 2025).
Original GitHub issue: https://github.com/Crosse/sshsrv/issues/8

Currently, I have a bunch of hosts that I reach via various different jump hosts at different sites, and would love a way to encode the correct jump host into the record somehow.

Originally created by @dragonpaw on GitHub (Jul 11, 2025). Original GitHub issue: https://github.com/Crosse/sshsrv/issues/8 Currently, I have a bunch of hosts that I reach via various different jump hosts at different sites, and would love a way to encode the correct jump host into the record somehow.
Author
Owner

@Crosse commented on GitHub (Jul 17, 2025):

This is an interesting idea. I'm on the fence about whether putting jumphost information in public DNS is a good or bad idea, but ultimately that's a question for the user—not me. I'm open to proposals! I don't use jump hosts anywhere, which means I don't have a good feel for how best to format the DNS record.

(Hm, I guess it doesn't have to reside in the same SRV record, though…ah, see, I think you just successfully nerd-sniped me!)

<!-- gh-comment-id:3084091074 --> @Crosse commented on GitHub (Jul 17, 2025): This is an interesting idea. I'm on the fence about whether putting jumphost information in public DNS is a good or bad idea, but ultimately that's a question for the user—not me. I'm open to proposals! I don't use jump hosts anywhere, which means I don't have a good feel for how best to format the DNS record. (Hm, I guess it doesn't have to reside in the same `SRV` record, though…ah, see, I think you just successfully nerd-sniped me!)
Author
Owner

@dragonpaw commented on GitHub (Jul 17, 2025):

I would actually use a SVCB record (the successor to SRV) as that has the ability for application-specific data, in addition to a specific port field. "alpn=jh=..." "port=..." would do the job and be optional.

P.S. Some entities have private dns zones that are not internet-visible and could more safely contain such data.

<!-- gh-comment-id:3084943302 --> @dragonpaw commented on GitHub (Jul 17, 2025): I would actually use a SVCB record (the successor to SRV) as that has the ability for application-specific data, in addition to a specific port field. "alpn=jh=..." "port=..." would do the job and be optional. P.S. Some entities have private dns zones that are not internet-visible and could more safely contain such data.
Author
Owner

@Crosse commented on GitHub (Jul 18, 2025):

I would actually use a SVCB record

I'll check that out.

P.S. Some entities have private dns zones that are not internet-visible and could more safely contain such data.

Heh, yeah. As soon as I wrote my original statement I had the same thought, but left it anyway. 🙂

I'll try to look at this over the weekend!

<!-- gh-comment-id:3089961336 --> @Crosse commented on GitHub (Jul 18, 2025): > I would actually use a SVCB record I'll check that out. > P.S. Some entities have private dns zones that are not internet-visible and could more safely contain such data. Heh, yeah. As soon as I wrote my original statement I had the same thought, but left it anyway. 🙂 I'll try to look at this over the weekend!
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
starred/sshsrv#7
No description provided.