netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.32k stars 519 forks source link

Custom DNS support. #2943

Open Cikaros opened 6 days ago

Cikaros commented 6 days ago

Administrators can publish custom DNS resolution rules based on groups, and clients will accept DNS resolution according to the group rules and write them into the hosts file.

Codixer commented 4 days ago

It could be me, but isn't this somewhat already a feature?

Cikaros commented 2 days ago

I apologize for not explaining clearly. Currently, you can only have one domain name by setting the client name.

Cikaros commented 2 days ago

I would like to have multiple domain names.

Codixer commented 2 days ago

And I think that's possible to?

Cikaros commented 2 days ago

How should I proceed, please?

Cikaros commented 2 days ago

I understand, are you referring to using a custom DNS server to achieve support for more domain name mappings? I am hesitant to open another DNS server.

Codixer commented 2 days ago

As far as I know, you can create a server/endpoint in your env and assign it an internal ip only. THen make that your dns server for the domains you wanna use. So yeah.

Codixer commented 2 days ago

It's what I do for my infra.

mgarces commented 3 hours ago

@Cikaros can you clarify what are you trying to achieve? What is the issue?

hurricanehrndz commented 2 hours ago

This can easily be done with coredns and again like @Codixer it is something I do in my own environment and outside the scope of this project