Multiple domains #539

Open
opened 2025-11-20 05:13:24 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @TheRouce on GitHub (Dec 11, 2023).

Is your feature request related to a problem? Please describe.
In some cases the domain or TLD I've used (.network) to setup netbird is blocked, for instance university wifi. If I could use a separate domain with a more conventional TLD then I could be a bit more flexible with my usage of netbird.

Unfortunately these block lists can be very sensitive, for a time they blocked users from accessing Github. That was a very long appeal process to finally get it unblocked so we could access repositories for projects.

Describe the solution you'd like
Simply an option to specify a second domain, I could either do this in the caddy file or have netbird handle creating the caddy file after specifying the second domain with the environment variables

Describe alternatives you've considered
Another option would be to use the server's IP address because most of the time it's a domain based block

Originally created by @TheRouce on GitHub (Dec 11, 2023). **Is your feature request related to a problem? Please describe.** In some cases the domain or TLD I've used (.network) to setup netbird is blocked, for instance university wifi. If I could use a separate domain with a more conventional TLD then I could be a bit more flexible with my usage of netbird. Unfortunately these block lists can be very sensitive, for a time they blocked users from accessing Github. That was a very long appeal process to finally get it unblocked so we could access repositories for projects. **Describe the solution you'd like** Simply an option to specify a second domain, I could either do this in the caddy file or have netbird handle creating the caddy file after specifying the second domain with the environment variables **Describe alternatives you've considered** Another option would be to use the server's IP address because most of the time it's a domain based block
saavagebueno added the feature-requestdns labels 2025-11-20 05:13:24 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Dec 14, 2023):

Hello, @TheRouce, the domain you are referring to the one set for the NetBird control layer?

From your university wifi, you can connect to the server's IP address without using the domain. If so, that might mean that the block is at the DNS level, in this case, can you test setting an entry in your machine's host file with your current .netbird domain and the IP address?

@mlsmaycon commented on GitHub (Dec 14, 2023): Hello, @TheRouce, the domain you are referring to the one set for the NetBird control layer? From your university wifi, you can connect to the server's IP address without using the domain. If so, that might mean that the block is at the DNS level, in this case, can you test setting an entry in your machine's host file with your current .netbird domain and the IP address?
Author
Owner

@TheRouce commented on GitHub (Dec 27, 2023):

Sorry I didn't make this more clear in the issue, I cannot connect via an IP address which lead me to believe it is deeper than DNS or that netbird didn't support it. I've also attempted to use my own DNS with no luck.

I'm realizing that it might make more sense to pursue my ticket with the university further. Alternatively, we've been considering netbird for remote access to the school's servers, and using netbird.io might actually be a more reliable option.

@TheRouce commented on GitHub (Dec 27, 2023): Sorry I didn't make this more clear in the issue, I cannot connect via an IP address which lead me to believe it is deeper than DNS or that netbird didn't support it. I've also attempted to use my own DNS with no luck. I'm realizing that it might make more sense to pursue my ticket with the university further. Alternatively, we've been considering netbird for remote access to the school's servers, and using netbird.io might actually be a more reliable option.
Author
Owner

@TheRouce commented on GitHub (Jan 17, 2024):

After simply just pointing a second domain to the server's IP, It loads but I get this
image
And I get this when I run netbird up on the second domain, using port 80 as I'm not sure how I would go about requesting a cert on a second domain with netbird's stack

2024-01-17T14:41:18-05:00 WARN client/cmd/root.go:188: retrying Login to the Management service in 1.201019174s due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: rpc error: code = Unavailable desc = error reading from server: EOF
@TheRouce commented on GitHub (Jan 17, 2024): After simply just pointing a second domain to the server's IP, It loads but I get this ![image](https://github.com/netbirdio/netbird/assets/40551268/2884f410-3ee4-4e2b-ac19-3501eaddcd5f) And I get this when I run netbird up on the second domain, using port 80 as I'm not sure how I would go about requesting a cert on a second domain with netbird's stack ``` 2024-01-17T14:41:18-05:00 WARN client/cmd/root.go:188: retrying Login to the Management service in 1.201019174s due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: rpc error: code = Unavailable desc = error reading from server: EOF ```
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

possibly related to https://github.com/netbirdio/netbird/issues/2660

@nazarewk commented on GitHub (Apr 18, 2025): possibly related to https://github.com/netbirdio/netbird/issues/2660
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#539