Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server: Option to specify which interfaces to use #607

Open
mageddo opened this issue Nov 21, 2024 · 2 comments
Open

Server: Option to specify which interfaces to use #607

mageddo opened this issue Nov 21, 2024 · 2 comments
Labels
feature-request Proposal of a new feature/behavior to be implemented, not reviewed by the repo authors yet

Comments

@mageddo
Copy link
Owner

mageddo commented Nov 21, 2024

Summary & Motivation

As requested at #544, it can be useful to bind DPS to one o more but specific network interfaces, by default DPS binds to all interfaces to make it easier to use, at the same time it can become unwanted or insecure when in more production like usecases.

Description

Create configs to decide which interfaces will be used to bind to the tcp/udp dns and web server

{
  "serverNetworkBindInterface": "en6" ,
  "dnsServerNetworkBindInterface": "en6",
  "webServerNetworkBindInterface": "en6" 
}

Where networkBindInterfacecan be a name ex en6 or a mac address, ex: acde48001122, ACDE48001122, ac:de:48:00:11:22, AC:DE:48:00:11:22

  • All configs will be default to null, which means all interfaces will be binded (0.0.0.0)
  • serverNetworkBindInterface will apply to both DNS and Web server
  • dnsServerNetworkBindInterface and webServerNetworkBindInterface will override the serverNetworkBindInterface config

Alternatives

Run DPS inside a docker container to prevent DPS to bind to unwanted interfaces at the host.

@mageddo mageddo added the feature-request Proposal of a new feature/behavior to be implemented, not reviewed by the repo authors yet label Nov 21, 2024
@mageddo mageddo changed the title Option to specify which interfaces to use Server: Option to specify which interfaces to use Nov 21, 2024
@ak2766
Copy link

ak2766 commented Nov 22, 2024

DPS has matured into a versatile tool. I think it is time it was included in DNS comparison table!

@mageddo
Copy link
Owner Author

mageddo commented Nov 22, 2024

See #609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Proposal of a new feature/behavior to be implemented, not reviewed by the repo authors yet
Projects
None yet
Development

No branches or pull requests

2 participants