Custom DNS Alias for IP resources added to a network #1680

Open
opened 2025-11-20 06:04:38 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @johnnycube on GitHub (Mar 5, 2025).

Is your feature request related to a problem? Please describe.

I want to have a resource based DNS entry that can be customized in the UI. For example Twingate offers to add resources based in IP address while also giving the possiblity to define a DNS alias. The local DNS resolver of the client should pick up the alias and route traffic according to the IP resource definition. Therefor I do not need a custom DNS server to resolve internal domains.

The usecase is the exposure of services of a private cluster based on dns hostname (e.g. Traefik reverse proxy as an ingress to a k3s cluster with multiple services proxied by subdomain).

Describe the solution you'd like

Ideally, the ui allows adding resource to networks with the option do define DNS aliases/urls that are added to the local DNS resolver of the netbird clients (android, windows, side-cars). This allows resolving DNS requests without the need to host (multiple) DNS servers. While this is a solution to the problem it is a signifcant overhead for the common user (read: homelab).

Describe alternatives you've considered

An alternative is to host custom DNS servers for internal domains. Or use Twingate but this is closed source.

Additional context

The feature aligns very well with the already implemented functionality of dns aliases of peers and takes the concept a step further to allow the exposure of services behind a reverse proxy in an internal network without the need to host a custom DNS server.

Would be great to understand if I missed the feature in the UI or if it could be added? Maybe its already on the roadmap for the new Network feature?

Originally created by @johnnycube on GitHub (Mar 5, 2025). **Is your feature request related to a problem? Please describe.** I want to have a resource based DNS entry that can be customized in the UI. For example Twingate offers to add resources based in IP address while also giving the possiblity to define a DNS alias. The local DNS resolver of the client should pick up the alias and route traffic according to the IP resource definition. Therefor I do not need a custom DNS server to resolve internal domains. The usecase is the exposure of services of a private cluster based on dns hostname (e.g. Traefik reverse proxy as an ingress to a k3s cluster with multiple services proxied by subdomain). **Describe the solution you'd like** Ideally, the ui allows adding resource to networks with the option do define DNS aliases/urls that are added to the local DNS resolver of the netbird clients (android, windows, side-cars). This allows resolving DNS requests without the need to host (multiple) DNS servers. While this is a solution to the problem it is a signifcant overhead for the common user (read: homelab). **Describe alternatives you've considered** An alternative is to host custom DNS servers for internal domains. Or use Twingate but this is closed source. **Additional context** The feature aligns very well with the already implemented functionality of dns aliases of peers and takes the concept a step further to allow the exposure of services behind a reverse proxy in an internal network without the need to host a custom DNS server. Would be great to understand if I missed the feature in the UI or if it could be added? Maybe its already on the roadmap for the new Network feature?
saavagebueno added the feature-request label 2025-11-20 06:04:38 -05:00
Author
Owner

@M0nk3yOo commented on GitHub (Oct 12, 2025):

Push

@M0nk3yOo commented on GitHub (Oct 12, 2025): Push
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1680